MenuListOwnProps

Properties

Link copied to clipboard
abstract var autoFocus: Boolean?

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

Link copied to clipboard
abstract var autoFocusItem: Boolean?

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

Link copied to clipboard
abstract override var children: ReactNode?

MenuList contents, normally MenuItems.

Link copied to clipboard

If true, will allow focus on disabled items.

Link copied to clipboard
abstract var disableListWrap: Boolean?

If true, the menu items will not wrap focus.

Link copied to clipboard
abstract var key: Key?
Link copied to clipboard
abstract 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 fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator fun <P : Props> ElementType<P>.invoke()
open inline operator fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator fun Char.unaryPlus()
open inline operator fun String?.unaryPlus()
open inline operator fun ReactNode?.unaryPlus()
open inline operator fun Props?.unaryPlus()