1.0.4 • Published 5 years ago

@singleware/ui-menu v1.0.4

Weekly downloads
13
License
MIT
Repository
github
Last release
5 years ago

UI-Menu

Custom HTML element used to wrap most essential actions for a menu component.

Properties

NameDescription
valueGet and set the current selected option by its value
disabledGet and set the disabled state
selectableGet and set the selectable state
orientationGet and set the element orientation. Use column, row

Methods

NameDescription
addGroupAdd a group into the menu
addOptionAdd an option into the menu
removeOptionRemove options from the menu
clearOptionsRemove all options from the menu

Install

Using npm:

npm i @singleware/ui-menu

License

MIT © Silas B. Domingos