MenuListOwnProps

Properties

Link copied to clipboard
abstract external var autoFocus: Boolean?

If true, will focus the [role="menu"] container and move into tab order.

Link copied to clipboard
abstract external var autoFocusItem: Boolean?

If true, will focus the first menuitem if variant="menu" or selected item if variant="selectedMenu".

Link copied to clipboard
abstract external override var children: ReactNode?

MenuList contents, normally MenuItems.

Link copied to clipboard
abstract external var disabledItemsFocusable: Boolean?

If true, will allow focus on disabled items.

Link copied to clipboard
abstract external var disableListWrap: Boolean?

If true, the menu items will not wrap focus.

Link copied to clipboard
abstract external var key: Key?
Link copied to clipboard
abstract external var variant: MenuListVariant?

The variant to use. Use menu to prevent selected items from impacting the initial focus and the vertical alignment relative to the anchor element.

Functions

Link copied to clipboard
open inline external fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator external fun <P : Props> ElementType<P>.invoke()
open inline operator external fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator external fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator external fun Char.unaryPlus()
open inline operator external fun String?.unaryPlus()
open inline operator external fun ReactNode?.unaryPlus()
open inline operator external fun Props?.unaryPlus()