JS API
Options
mode
- Type:
'click' | 'hover' - Default:
click
Configure by which event the menu will be opened and closed.
Methods
open()
Open the menu first MenuList child and close any other MenuList already opened.
close()
Close the menu first MenuList child.
toggle()
Open or close the menu first MenuList child.