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 SnOn<MdDialog>.cancel(action: (Event) -> Unit)

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

Link copied to clipboard
fun SnOn<MdDialog>.close(action: (Event) -> Unit)

Dispatched when the dialog is closing before any animations.

Link copied to clipboard
fun SnOn<MdDialog>.closed(action: (Event) -> Unit)

Dispatched when the dialog has closed after any animations.

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

Dispatched when the dialog is opening before any animations.

Link copied to clipboard
fun SnOn<MdDialog>.opened(action: (Event) -> Unit)

Dispatched when the dialog has opened after any animations.