Web Development with jQuery®

(Elliott) #1

Appendix P (^) ❘ 601
hide Whether and how to animate the closing
of a dialog.
If a boolean value is provided, false
indicates no animation, and the dialog
closes immediately. If true is provided,
the dialog fades out with the default
duration and default easing.
If a number is provided, it indicates how
long the fade animation should take
place with the default easing.
If a string is provided, it indicates what
animation or UI effect to use. For
example, 'slideUp' or 'fold'. This
animation will be applied with default
duration and default easing.
If an object is provided, you may specify
the following properties: effect,
delay, duration, and easing.
Default value: null
Boolean,
Number,
String, Object
maxHeight The maximum height to which the dialog
can be resized, in pixels.
Default value: false
Number
maxWidth The maximum width to which the dialog
can be resized, in pixels.
Default value: false
Number
minHeight The minimum height to which the dialog
can be resized, in pixels.
Default value: 150
Number
minWidth The minimum width to which the dialog
can be resized, in pixels.
Default value: 150
Number
modal When modal is set to true, the dialog will
have modal behavior; other items on the
page will be disabled (that is, cannot be
interacted with). Modal dialogs create an
overlay below the dialog but above other
page elements. Custom style values for the
overlay (for example, changing its color or
opacity) can be set by overriding the styles
for the ui-widget-overlay class.
Default value: false
Boolean
continues
http://www.it-ebooks.info

Free download pdf