MegaMenu is navigation component that displays submenus together.
+Menubar uses the common MenuModel API to define the items, visit
Menubar requires a collection of menuitems as its model.
+Any attribute such as style and class are passed to the main container element. Following are the additional properties to configure the component.
+Name | +Type | +Default | +Description | +
---|---|---|---|
model | +array | +null | +An array of menuitems. | +
Following is the list of structural style classes, for theming classes visit
Name | +Element | +
---|---|
p-menubar | +Container element. | +
p-menubar-root-list | +Root list element. | +
p-submenu-list | +Submenu list element. | +
p-menuitem | +Menuitem element. | +
p-menuitem-text | +Label of a menuitem. | +
p-menuitem-icon | +Icon of a menuitem. | +
p-submenu-icon | +Arrow icon of a submenu. | +
None.
+