Custom HTML element used to wrap most essential actions for a menu component.
Name | Description |
---|---|
value | Get and set the current selected option by its value |
disabled | Get and set the disabled state |
selectable | Get and set the selectable state |
orientation | Get and set the element orientation. Use column , row |
Name | Description |
---|---|
addGroup | Add a group into the menu |
addOption | Add an option into the menu |
removeOption | Remove options from the menu |
clearOptions | Remove all options from the menu |
Using npm:
npm i @singleware/ui-menu