description |
Menu buttons are used to represent a set of actions in a group. |
Menu Button
{% embed url="https://youtu.be/tDMAOxZTmxY" caption="" %}
Property |
Description |
label |
Sets the label of a menu. |
backgroundColor |
Sets the background color of the widget. |
textColor |
Sets the text color of the widget. |
isDisabled |
Disables input to the widget. |
isVisible |
Controls the visibility of the widget. |
isCompact |
Decides if the widget is in compact mode. |
menuItems |
Array of menu items in the dropdown list. This lets you add/remove/edit a menu item and customize the menu item settings. |
iconName |
Sets the name of an icon to render before or after the text. |
iconColor |
Sets the icon color of the selected icon. |
iconAlign |
Sets the alignment of the selected icon . |
Menu item settings
Each menu item can now be customized through a set of properties by clicking on the gear icon.
Property |
Description |
label |
Sets the label of a menu item. |
backgroundColor |
Sets the background color of a menu item. |
textColor |
Sets the text color of a menu item. |
isDisabled |
Disables input to a menu item. |
isVisible |
Controls the visibility of a menu item. |
iconName |
Sets the name of an icon to render before or after the text. |
iconColor |
Sets the icon color of the selected icon. |
iconAlign |
Sets the alignment of the selected icon . |
Action |
Description |
onClick |
Sets the action to be run when the a menu item is clicked. |