-
Notifications
You must be signed in to change notification settings - Fork 0
Settings
A string
or jQuery object to be inserted as content in the dialog. This supersedes both the url and href attributes.
A string
to an external resource. A hash can be applied to fetch specific section of the resource.
An integer
. The speed at which the animations will run. To keep down on overhead, no effort is made to check that this conforms with what is set in the CSS, please see to that it does.
A boolean
. Weather the dialog should be closed on escape key being pressed.
A string
that defines the aria attribute that will be assigned to the dialog. Preferably dialog
or alertdialog
.
String
that describes the close button.
String
that describes the loading process.
A string
that will be assigned as an ID (if there already is none) for the "assumed" label of the dialog.
A string
that describes the animation direction. Takes four values: top
,bottom
,left
and right
. If null
or any other, non-supported string, is supplied, the dialog will simply just appear. Thus can be utilized to add custom animations with CSS. See the examples.
A string
that will be assigned as class on the dialog for special purpose styling and whatnot.
A string
('GET' or 'POST') that sets the AJAX request method. Also accepts an object
(data to be sent with request)
A function
that will run as soon as the dialog is available in the DOM (but not yet in view).
A function
that will run as soon as the dialog content in loaded.
A function
that will run as the dialog close.
A string
defining whether to use CSS or JavaScript (jQuery) for animation. Accepts css
and animate
.
A boolean
. Whether to show dialog before content is loaded.
A boolen
. Whether to vertically center dialog in window (if there's room).