Interface for a class Menu
EmitType<BeforeOpenCloseMenuEventArgs>
Triggers before closing the menu.
Triggers while rendering each menu item.
EmitType<BeforeOpenCloseMenuEventArgs>
Triggers before opening the menu item.
Triggers once the component rendering is completed.
EmitType<OpenCloseMenuEventArgs>
Triggers while closing the menu.
EmitType<OpenCloseMenuEventArgs>
Triggers while opening the menu item.
Triggers while selecting menu item.
Specifies the animation settings for the sub menu open.
string
Defines class/multiple classes separated by a space in the Menu wrapper.
boolean
Specifies whether to enable the rendering of untrusted HTML values in the Menu component. If ‘enableHtmlSanitizer’ set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
boolean
Enable or disable persisting component’s state between page reloads.
boolean
Enable or disable rendering component in right to left direction.
boolean
Specifies whether to enable / disable the scrollable option in Menu.
Specifies mapping fields from the dataSource.
boolean
Specifies whether to enable / disable the hamburger mode in Menu.
number
If hoverDelay is set by particular number, the menu will open after that period.
MenuItemModel[]
| { : }
[]
Specifies menu items with its properties which will be rendered as Menu.
string
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
Specified the orientation of Menu whether it can be horizontal or vertical.
boolean
Specifies whether to show the sub menu or not on click. When set to true, the sub menu will open only on mouse click.
string
Specifies target element to open/close Menu while click in Hamburger mode.
string
| Function
Specifies the template for Menu item.
string
Specifies the title text for hamburger mode in Menu.