MenuItemModel
23 Sep 20251 minute to read
Interface for a class MenuItem
Properties
htmlAttributes Record
Specifies the htmlAttributes property to support adding custom attributes to the menu items in the menu component.
iconCss string
Defines class/multiple classes separated by a space for the menu Item that is used to include an icon.
Menu Item can include font icon and sprite image.
id string
Specifies the id for menu item.
items MenuItemModel[]
Specifies the sub menu items that is the array of MenuItem model.
separator boolean
Specifies separator between the menu items. Separator are either horizontal or vertical lines used to group menu items.
text string
Specifies text for menu item.
url string
Specifies url for menu item that creates the anchor link to navigate to the url provided.