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
- 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.
The variant to use. Use menu
to prevent selected items from impacting the initial focus.
Attributes
- 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
An HTML element, or a function that returns one. It's used to set the position of the menu.
An HTML element, or a function that returns one. 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.
Override or extend the styles applied to the component.
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.
Value parameters
- {object}
-
event The event source of the callback.
- {string}
-
reason Can be:
"escapeKeyDown"
,"backdropClick"
,"tabKeyDown"
.
Attributes
If true
, the component is shown.
If true
, the component is shown.
Attributes
The extra props for the slot components. You can override the existing props or add new ones.
The extra props for the slot components. You can override the existing props or add new ones.
Attributes
The components used for each slot inside.
The components used for each slot inside.
Attributes
The system prop that allows defining system overrides as well as additional CSS styles.
The system prop that allows defining system overrides as well as additional CSS styles.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes