EMegaMenu Mega menu
Examples
Multi-column menu
Vertical menu
Wide columns
Command feedback
Disabled menu
Properties
PropertyDescriptionValues and default
modelvarComponent data source; item structure follows the current example and component contract.
Default
[]activeIndexintOpen mega-menu index; -1 closes the menu.
-1: no selection
0 and above: item index
Default
-1columnWidthintWidth of each group column in the expanded menu.
Default
180verticalboolWhether the top level navigation runs vertically.
Default
falsegroupsvarRead onlyGroups under the active mega-menu entry.
Default
Show default value
activeIndex >= 0 && Array.isArray(model) && model[activeIndex] && Array.isArray(model[activeIndex].children) ? model[activeIndex].children : []Signals
SignaturePurpose
command(var command, var item)Emitted when a command is invoked, with its value and menu item.
Methods
SignaturePurpose
close()Close the component panel or popup.
trigger(item)Invoke the specified item command, as if the item were selected.
open(index)Open the component panel or popup.