UI resizable set option
UI resizable set option
Hi all,
After I initializes an image with the resizable({...}) I want to click on a form checkbox to enable ratio. So in the onclick of the check I do .resizeable("option", "aspectRatio", true); but the option isn't updating the resizable. The workaround for me was to re-init the resizable, but thats not the best practice I think...
Could some tell me more out using the option setter? Another plugin of jQuery to crop images uses a same way of updating the settings, but that one need an .update() call to make the settings active. Does the resizable() need something like that also?
Best regards, Bert