Dialog

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

A dialog component.

Parameters

cancelable

whether the dialog can be canceled

animation

determines if the transitions are animated

className

CSS class names

init

an initializer extension function

Inheritors

Constructors

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

Creates a dialog component.

Properties

Link copied to clipboard

Determines if the transitions are animated.

Link copied to clipboard

Whether the dialog can be canceled.

Link copied to clipboard

Whether the dialog is disabled.

Link copied to clipboard

A dynamic property returning whether the dialog 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
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 hideDialog(options: dynamic = undefined): <Error class: unknown class><Unit>?

Hides the dialog.

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
fun Dialog.page(className: String? = null, init: Page.() -> Unit? = null): Page

DSL builder extension function.

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

Shows the dialog.