Props
Attributes
- Graph
- Supertypes
- trait WithChildren[VdomNode]trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Classlikes
The length of the transition in ms
, or 'auto'
The length of the transition in ms
, or 'auto'
Attributes
- Graph
- Supertypes
- class Prop[String | Double | Object]class Objecttrait Matchableclass Any
- Self type
- transitionDuration.type
The variant to use. Use menu
to prevent selected items from impacting the initial focus
and the vertical alignment relative to the anchor element.
The variant to use. Use menu
to prevent selected items from impacting the initial focus
and the vertical alignment relative to the anchor element.
Attributes
- Graph
- Supertypes
- class Prop[String]class Objecttrait Matchableclass Any
- Self type
- variant.type
Value members
Concrete methods
Props applied to the MenuList
element.
classes
prop applied to the Popover
element.
Props applied to the transition element.
By default, the element is based on this Transition
component.
Props applied to the transition element.
By default, the element is based on this Transition
component.
Attributes
A HTML element, or a function that returns it. It's used to set the position of the menu.
A HTML element, or a function that returns it. It's used to set the position of the menu.
Attributes
If true
(Default) will focus the [role="menu"]
if no focusable child is found. Disabled
children are not focusable. If you set this prop to false
focus will be placed
on the parent modal container. This has severe accessibility implications
and should only be considered if you manage focus otherwise.
If true
(Default) will focus the [role="menu"]
if no focusable child is found. Disabled
children are not focusable. If you set this prop to false
focus will be placed
on the parent modal container. This has severe accessibility implications
and should only be considered if you manage focus otherwise.
Attributes
Menu contents, normally MenuItem
s.
Menu contents, normally MenuItem
s.
Attributes
Override or extend the styles applied to the component. See CSS API below for more details.
Override or extend the styles applied to the component. See CSS API below for more details.
Attributes
When opening the menu will not focus the active item but the [role="menu"]
unless autoFocus
is also set to false
. Not using the default means not
following WAI-ARIA authoring practices. Please be considerate about possible
accessibility implications.
When opening the menu will not focus the active item but the [role="menu"]
unless autoFocus
is also set to false
. Not using the default means not
following WAI-ARIA authoring practices. Please be considerate about possible
accessibility implications.
Attributes
Callback fired when the component requests to be closed.
Callback fired when the component requests to be closed.
Attributes
- {object}
event The event source of the callback.
- {string}
reason Can be:
"escapeKeyDown"
,"backdropClick"
,"tabKeyDown"
.
If true
, the menu is visible.
If true
, the menu is visible.
Attributes
Deprecated methods
Callback fired before the Menu enters.
Callback fired before the Menu enters.
Attributes
- Deprecated
- true
Callback fired when the Menu has entered.
Callback fired when the Menu has entered.
Attributes
- Deprecated
- true
Callback fired when the Menu is entering.
Callback fired when the Menu is entering.
Attributes
- Deprecated
- true
Callback fired before the Menu exits.
Callback fired before the Menu exits.
Attributes
- Deprecated
- true
Callback fired when the Menu has exited.
Callback fired when the Menu has exited.
Attributes
- Deprecated
- true
Callback fired when the Menu is exiting.
Callback fired when the Menu is exiting.
Attributes
- Deprecated
- true
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes