Package-level declarations

Material web dialog component.

Types

Link copied to clipboard
Link copied to clipboard
open class MdDialog(returnValue: String? = null, type: DialogType? = null, className: String? = null, init: MdDialog.() -> Unit? = null) : MdWidget, HasActionsSlot, HasContentSlot, HasHeadlineSlot, HasIconSlot

Dialogs provide important prompts in a user flow.

Functions

Link copied to clipboard
fun <Error class: unknown class><MdDialog>.cancel(action: (<Error class: unknown class>) -> Unit)

Dispatched when the dialog has been canceled by clicking on the scrim or pressing Escape.

Link copied to clipboard
fun <Error class: unknown class><MdDialog>.close(action: (<Error class: unknown class>) -> Unit)

Dispatched when the dialog is closing before any animations.

Link copied to clipboard
fun <Error class: unknown class><MdDialog>.closed(action: (<Error class: unknown class>) -> Unit)

Dispatched when the dialog has closed after any animations.

Link copied to clipboard
fun <Error class: unknown class>.dialog(returnValue: String? = null, type: DialogType? = null, className: String? = null, init: MdDialog.() -> Unit? = null): <Error class: unknown class>
Link copied to clipboard
fun <Error class: unknown class><MdDialog>.open(action: (<Error class: unknown class>) -> Unit)

Dispatched when the dialog is opening before any animations.

Link copied to clipboard
fun <Error class: unknown class><MdDialog>.opened(action: (<Error class: unknown class>) -> Unit)

Dispatched when the dialog has opened after any animations.