- Index
- »
- fan.domkit
- »
- Dialog
Dialog
@Js
class Dialog : Box
Dialog manages a modal window above page content.
See also: docDomkit
Str or Elem content displayed in title bar, or
null to hide title bar
Close this dialog
Protected sub-class callback invoked directly after dialog is opened
Protected sub-class callback invoked directly before dialog is opened
Callback when popup is closed
Callback when a key is pressed while Dialog is open, including events that where dispatched outside the dialog
Callback when dialog is opened
Open this dialog in the current Window
Void close()
Close this dialog. If dialog is already closed this method does nothing.
new make()
virtual Void onAfterOpen()
Protected sub-class callback invoked directly after dialog is opened.
virtual Void onBeforeOpen()
Protected sub-class callback invoked directly before dialog is opened.
Void onClose(|This| f)
Callback when popup is closed.
Void onKeyDown(|Event| f)
Callback when a key is pressed while Dialog is open, including events that where dispatched outside the dialog.
Void onOpen(|This| f)
Callback when dialog is opened.
Void open()
Open this dialog in the current Window. If dialog is already open this method does nothing.
Obj? : title
Str or Elem content displayed in title bar, or
null to hide title bar.