Version: 1.x
MenuItem
Type: Component
A menu list item that may perform an action when clicked.
#
Propsinfo
Any unlisted props are bound directly to the underlying button
element. This is useful for setting ARIA attributes.
id
#
Type: string|null
| Default: null
The id
property of the underlying button
element.
title
#
Type: string|null
| Default: null
The title of the item.
hint
#
Type: string|null
| Default: null
Optional text to help give more information about the item.
#
MethodsgetMenuControl
#
Return Type: MenuControl
The underlying MenuControl
instance.
#
Events#
MenuControlForwards all MenuControl
events.