UseMenuReturnValue

external interface UseMenuReturnValue(source)

Properties

Link copied to clipboard
abstract var contextValue: dynamic

The value to be passed into the MenuProvider.

Link copied to clipboard
abstract var dispatch: (action: Any) -> Unit

Action dispatcher for the menu component. Allows to programmatically control the menu.

Link copied to clipboard
abstract var getListboxProps: Any

Resolver for the listbox slot's props.

Link copied to clipboard
abstract var highlightedValue: String?

The highlighted option in the menu listbox.

Link copied to clipboard

The ref to the menu's listbox node.

Link copied to clipboard
abstract var menuItems: dynamic

Items in the menu listbox.

Link copied to clipboard
abstract var open: Boolean

If true, the menu is open.

Link copied to clipboard

An element that triggers the visibility of the menu.