Items
The ActionSheet items are highly customizable elements that allow you to control their look and feel depending on the use case.
To define the ActionSheet options, provide an ActionSheetItem
collection to the items
property of the component.
Setting Title and Subtitle
To configure the item text or any additional details, use the title
and subtitle
properties of the ActionSheetItem
object.
Defining Groups
To indicate a group of items with similar functionality, set the group
property of the ActionSheetItem
object to top
or bottom
. The ActionSheet will visually separate the two groups by rendering a separator line between them.
The following example demonstrates the ActionSheet groups in action.
Setting Icons
You can enhance the ActionSheet item content by adding icons. Set the following properties of the ActionSheetItem
object to take full control over the visibility of the icons:
The following example demonstrates all icon properties in action.
Disabling Items
To disable certain items set the disabled
property of the ActionSheetItem
to true
.
The following example demonstrates the disabled state of the ActionSheet items.
Styling Items
Some scenarios require further customizations of items layout. Use the cssClass
and cssStyle
options of the ActionSheetItem
object to change the layout of the options as necessary.
The following example demonstrates the cssClass
and cssStyle
properties in action.