Ui.ActionSheet
An action sheet comes up from the bottom of the screen and displays actions a user can take.
Some of it's features:
-
Showing the component returns a promise which is resolved when its closed.
-
When open pressing
Esc
closes it. -
After opened it will focus the first focusable item.
-
On navigation it closes.
-
The keyboard focus is trapped in the list:
Tab
andShift-Tab
cycles focusable elements. -
When closed the focus is returned to the last focused element before opening (which is usally the one that opened the action-sheet).
States
The previously focused element.
The displayed items.
The state of the component (open / closed).
The resolve function.
The base size of the component.
Functions
The close event handler.
The item click event handler.
The link click event handler.
The url change event handler.
Hides the component.
Renders the component.
Renders the contents of the item.
Renders the given navigation item.
Shows the component with the given items.
Shows the component with the given items and options.