ActionSheetProps
The props of the ActionSheet component.
Name | Type | Default | Description |
---|---|---|---|
animation? |
|
Controls the popup animation. By default, the open and close animations are disabled. | |
animationDuration? |
|
Specifies the duration of the transition for the entering and closing Animation. Defaults to | |
children? |
|
Represents the children that are passed to the ActionSheet. | |
className? |
|
The CSS classes that will be rendered on the inner ActionSheet element. | |
expand? |
|
Specifies the state of the ActionSheet. | |
items? |
|
The collection of items that will be rendered in the ActionSheet. | |
navigatable |
|
Specifies if the ActionSheet can be navigatable with keyboard.
Defaults to | |
navigatableElements |
|
Specifies the selectors of the navigatable elements inside the templates of the ActionSheet. | |
subTitle? |
|
Specifies the text that is rendered under the title. | |
tabIndex? |
|
Specifies the | |
title? |
|
Specifies the text that is rendered as title. |
Methods
onClose | ||||||
---|---|---|---|---|---|---|
Fires when the modal overlay is clicked. | ||||||
|
onItemClick | ||||||
---|---|---|---|---|---|---|
Deprecated. Fires when an ActionSheet item is clicked. Use | ||||||
|
onItemSelect | ||||||
---|---|---|---|---|---|---|
Fires when an ActionSheet item is clicked. | ||||||
|
onOverlayClick | ||||||
---|---|---|---|---|---|---|
Deprecated. Fires when the modal overlay is clicked. Use | ||||||
|