Skip to content

Singleware/ui-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI-Menu

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

Properties

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

Methods

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

Install

Using npm:

npm i @singleware/ui-menu

License

MIT © Silas B. Domingos