MenuModel API Component
PrimeNG Menus components facilitate to specify the menuitems and submenus by sharing a common API.
Components |
Descriptions |
---|---|
MenuModel API MenuItem | PrimeNG menus components share a common API to specify the menuitems and submenus. |
MenuModel API MegaMenu | In the case of MegaMenu, the items in the root level should be MegaMenuItem[], & in the case of the Nested level, the submenus can be MenuItem[]. |
MenuModel API Command | In Custom Content, both simple strings and HTML values are supported by the Label of a menuitem. |
MenuModel API Custom Content | In Custom Content, both simple strings and HTML values are supported by the Label of a menuitem. |
Angular PrimeNG Menu Reference
Angular PrimeNG Menu provides different components, such as MenuModel, Breadcrumb, ContextMenu, MegaMenu, etc., that help to build the menus and submenus that share the common API, along with rendering an overlay menu on right click of its target. This component also helps the user to navigate through the different pages without refreshing the page by facilitating the page hierarchy. This enhances the overall user interaction with the web application.
The complete list of Menu Components is listed below with their brief description: