class domkit::Dialog

sys::Obj
  dom::Elem
    domkit::Box
      domkit::Dialog

@Js

Source

Dialog manages a modal window above page content.

See also: docDomkit

close

Void close()

Source

Close this dialog. If dialog is already closed this method does nothing.

make

new make()

Source

onAfterOpen

protected virtual Void onAfterOpen()

Source

Protected sub-class callback invoked directly after dialog is opened.

onBeforeOpen

protected virtual Void onBeforeOpen()

Source

Protected sub-class callback invoked directly before dialog is opened.

onClose

Void onClose(|This| f)

Source

Callback when popup is closed.

onKeyDown

protected Void onKeyDown(|Event| f)

Source

Callback when a key is pressed while Dialog is open, including events that where dispatched outside the dialog.

onOpen

Void onOpen(|This| f)

Source

Callback when dialog is opened.

open

Void open()

Source

Open this dialog in the current Window. If dialog is already open this method does nothing.

title

Obj? title := null

Source

Str or Elem content displayed in title bar, or null to hide title bar.