ActionSheet

open class ActionSheet(actionSheetTitle: String? = null, cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: ActionSheet.() -> Unit? = null)

An action sheet component.

Parameters

actionSheetTitle

a title of the action sheet

cancelable

whether the action sheet can be canceled

animation

determines if the transitions are animated

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
constructor(actionSheetTitle: String? = null, cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: ActionSheet.() -> Unit? = null)

Creates an action sheet component.

Properties

Link copied to clipboard

A title of the action sheet.

Link copied to clipboard

Determines if the transitions are animated.

Link copied to clipboard

Whether the action sheet can be canceled.

Link copied to clipboard

Whether the action sheet is disabled.

Link copied to clipboard

A dynamic property returning whether the action sheet is visible.

Link copied to clipboard

Color of the background mask.

Link copied to clipboard

A modifier attribute to specify custom styles.

Link copied to clipboard
open var parent: <Error class: unknown class>?

Functions

Link copied to clipboard
fun ActionSheet.actionSheetButton(content: String? = null, rich: Boolean = false, align: <Error class: unknown class>? = null, icon: String? = null, className: String? = null, init: ActionSheetButton.() -> Unit? = null): ActionSheetButton

DSL builder extension function.

Link copied to clipboard
open fun afterInsert(node: <Error class: unknown class>)
Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun clearParent()
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open fun getRoot(): <Error class: unknown class>?
Link copied to clipboard
open fun hideActionSheet(options: dynamic = undefined): <Error class: unknown class><Unit>?

Hides the action sheet.

Link copied to clipboard
open fun onDeviceBackButton(callback: (event: BackButtonEvent) -> Unit)

Sets device back button event listener.

Link copied to clipboard

Clears device back button event listener.

Link copied to clipboard
open fun render(): <Error class: unknown class>
Link copied to clipboard
open fun showActionSheet(options: dynamic = undefined): <Error class: unknown class><Unit>?

Shows the action sheet.