Optional
autoIf true (which is the default), an enter keypress on an input field, or a ctrl+enter keypress on a textarea, will close the dialog as if the user had pressed OK.
Optional
containerparent element for dialog elements. Defaults to document body.
Optional
dataData to bind to the dialog.
Optional
msgOptional message to show in the dialog.
Optional
onHandler for when the user presses Cancel.
Optional
onCallback invoked after the dialog has been closed.
Optional
onInterceptor that can be used to prevent dialog from being closed (by returning false).
Optional
onOKHandler for when the user presses OK
Optional
onCallback invoked after the dialog has been displayed.
Optional
position"top" or "bottom" - where to show the dialog in the viewport. Defaults to "top".
Optional
repositionIf true, reposition the dialogs when a scroll or resize event has occurred.
Optional
titleOptional title for the dialog.
Defines the allowed options to the
show
method.