Web Development with jQuery®

(Elliott) #1

(^612) ❘ APPENDIX R RESIZABLE
animateDuration Duration time for animating. Accepts the time
in milliseconds (ms), or one of 'slow',
'normal', or 'fast'.
Default value: 'slow'
Number,
String
animateEasing Easing effect for animation.
Default value: 'swing'
String
aspectRatio When set to true, resizing is constrained by
the original aspect ratio. If an alternative ratio
is wanted, you can submit a number and then
the aspect ratio will be constrained by height\
width.
Default value: false
Boolean,
Number
autoHide When set to true, automatically hides the
handles except when the mouse hovers over
the element.
Default value: false
Boolean
cancel Prevents resizing if you start on elements
matching the selector.
Default value: 'input, textarea, button,
select, option'
Selector
containment Constrains resizing to within the bounds of the
specifi ed element. This can be a DOM
element, 'parent', 'document', or a
selector.
Default value: false
Boolean,
Element,
Selector,
String
delay Time in milliseconds (ms) to defi ne when
dragging should start. It helps prevent
unwanted drags when clicking an element.
Default value: 0
Number
disabled Disables the resizable if the value is set to
true.
Default value: false
Boolean
distance Tolerance in pixels, for when resizing should
start. If specifi ed, resizing will not start until
after the mouse is moved beyond the
specifi ed distance.
Default value: 1
Number
(continued)
http://www.it-ebooks.info

Free download pdf