Pages
Ui.ActionSheet
An action sheet comes up from the bottom of the screen and displays actions a user can take.
- usually this component is used in mobile resolutions
- showing the component returns a promise which is resolved when closed
- the keyboard focus is trapped in the list (tab and shift-tab)
- when closed the focus is returned to the last focused element before opening
States
The previously focused element.
The displayed items.
The state of the component (open / closed).
The resolve function.
The base size of the component.
The theme for the action sheet.
Functions
The close event handler.
The item click event handler.
The link click event handler.
Hides the component.
Renders the component.
renderContents
(
iconAfter
:
Html
iconBefore
:
Html
label
:
String
group
:
Bool
onClick
:
Function(Html.Event, Promise(Never, Void))
)
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.