UseMenuReturnValue

external interface UseMenuReturnValue(source)

Properties

Link copied to clipboard
abstract external var contextValue: Any?

The value to be passed into the MenuProvider.

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

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

Link copied to clipboard
abstract external var getListboxProps: Any

Resolver for the listbox slot's props.

Link copied to clipboard
abstract external var highlightedValue: String?

The highlighted option in the menu listbox.

Link copied to clipboard
abstract external var listboxRef: RefCallback<Element>?

The ref to the menu's listbox node.

Link copied to clipboard
abstract external var menuItems: Any?

Items in the menu listbox.

Link copied to clipboard
abstract external var open: Boolean

If true, the menu is open.

Link copied to clipboard
abstract external var triggerElement: HTMLElement?

An element that triggers the visibility of the menu.