ButtonItemInterface
The interface for describing items that can be passed to the items
property of the SplitButton or the DropDownButton as an alternative to passing them as children.
Name | Type | Default | Description |
---|---|---|---|
disabled? |
|
Determines whether the item is disabled. | |
icon? |
|
Defines an icon that will be rendered next to the item text. | |
iconClass? |
|
Defines an icon with a custom CSS class that will be rendered next to the item text. | |
imageUrl? |
|
Defines the location of an image that will be displayed next to the item text. | |
render? |
|
Defines a named slot | |
text |
|
Specifies the text of the item. |