(^600) ❘ APPENDIX P DIALOG
DIALOG OPTIONS
OPTION DESCRIPTION TYPE
appendTo What element the dialog should be
appended to.
Default value: 'body'
Selector
autoOpen When set to true, the dialog opens
automatically when the dialog is called.
If set to false, it stays hidden until
dialog('open') is called on it.
Default value: true
Boolean
buttons Specifi es which buttons should display
on the dialog. The property key is the
text of the button. The value is the
callback function for when the button
is clicked. The context of the callback is
the dialog element; if you need access
to the button, it is available as the target
of the event object.
Default value: {}
Object, Array
closeOnEscape Specifi es whether the dialog should
close when the user presses the [Escape]
key.
Default value: true
Boolean
closeText Specifi es the text for the close button.
Default value: 'close'
String
dialogClass The specifi ed class name(s) will be
added to the dialog, for additional
styling.
Default value: ''
String
draggable When set to true, the resulting dialog
will be draggable. If false, the dialog
will not be draggable.
Default value: true
Boolean
height The height of the dialog, in pixels.
Default value: 200
Number,
String
http://www.it-ebooks.info
elliott
(Elliott)
#1