Version: 1.x

MenuItem

Type: Component

A menu list item that may perform an action when clicked.

Props#

info

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.

Methods#

getMenuControl#

Return Type: MenuControl

The underlying MenuControl instance.

Events#

MenuControl#

Forwards all MenuControl events.