AppKit.Dialog

extends AppKit.View

Attributes

Attribute Value (default) Details
delegate JavaScript object delegate methods: onDialogOpen, onDialogClose
draggable boolean (true) if true, the user can drag the dialog from the title bar area
height number (300) height of dialog
left number (0) dialog's left position
maxHeight number (10000)
maxWidth number (10000)
minHeight number (150)
minWidth number (150)
modal boolean (false) if true, dialog will disable all other UI when opened
resizable boolean (true) if true, the user can resize the dialog
title string ("") title of dialog
top number (0) dialog's top position
visible boolean (true) if true, the dialog is visible by default
width number (300) width of dialog

Methods

Method Name Details
center centers the dialog in the browser window