ButtonItem

The silk:ButtonItem defines the sub-buttons for a "Drop-down Button". Adding a silk:ButtonItem to a silk:Button converts it into a "Drop-down Button".

This is a standalone component.

Tag Definition

Used standalone:

<silk:ButtonItem
  id=""
  label=""
  icon=""
  renderIf=""
  targetPage=""
/>

Properties

id

The button's unique identifier. If the button's events are not going to be used, the id is not required. Default Value: Empty.

label

The label is used as the button's label. It is not required if the button only shows an icon. Default Value: Empty.

icon

The icon class is from a Font Awesome icon. Default Value: Empty.

renderIf

targetPage

The ID of the page to be shown when the button is clicked. This also works with silk:Modal. If opening a page/modal is the only button's functionality, then an ID is not necessary. Default Value: Empty.

Last updated