OptionalautoIf 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.
Optionalcontainerparent element for dialog elements. Defaults to document body.
OptionaldataData to bind to the dialog.
OptionalmsgOptional message to show in the dialog.
OptionalonHandler for when the user presses Cancel.
OptionalonCallback invoked after the dialog has been closed.
OptionalonInterceptor that can be used to prevent dialog from being closed (by returning false).
OptionalonOKHandler for when the user presses OK
OptionalonCallback invoked after the dialog has been displayed.
Optionalposition"top" or "bottom" - where to show the dialog in the viewport. Defaults to "top".
OptionalrepositionIf true, reposition the dialogs when a scroll or resize event has occurred.
OptionaltitleOptional title for the dialog.
Defines the allowed options to the
showmethod.