Web Development with jQuery®

(Elliott) #1

bapp18.indd 02/17/2015 Page 611


Resizable


RESIZABLE METHODS

METHOD DESCRIPTION RETURN VALUE

resizable(options) Makes the selected elements into resizable
elements (see “Resizable Options”).

jQuery

resizable('destroy') Completely removes resizable functionality. jQuery

resizable('disable') Temporarily disables resizable functionality. jQuery

resizable('enable') Enables resizable functionality. jQuery

resizable('option') Returns an object of all currently set options as
an object of key, value pairs.

Object

resizable('option',
optionName)

Returns the specifi ed option’s value. Mixed

resizable('option',
optionName, value)

Sets the specifi ed option to the specifi ed
value.

jQuery

RESIZABLE OPTIONS

OPTION DESCRIPTION TYPE

alsoResize One or more elements that should be resizing
simultaneously with the resizable element.
Default value: false

Selector,
jQuery,
Element

animate Animates to the fi nal size after resizing.

Default value: false

Boolean

R


continues

http://www.it-ebooks.info

Free download pdf