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".

Tag Use

Used standalone:

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

Properties

*Required property.

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 text used as the button's label. Not require if the button will only show an icon. Default Value: Empty.

icon

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

targetPage

The page's identifier which will be selected/show when the button is clicked. This also works with silk:Modals. If opening a page/modal is the only button's functionality then an id is not necessary. Default Value: Empty.

Last updated