4 ms·
It's the abundant use of Closures is what brought me to jQuery in the first place. Like you I favor this approach $('div').draggable().create({Object hash}).dr
by jamongkad 18y ago
It's the abundant use of Closures is what brought me to jQuery in the first place. Like you I favor this approach
$('div').draggable().create({Object hash}).draggableDestroy();
It may look awkward at first but I think it will a result into a new win in the long run. I'm having alot of trouble downloading the new library for some reason but can you do something like this?
$('div').draggable().create({Object hash},function(){ alert(Object Creation confirmed}; ).draggableDestroy();
I think the ability to launch a callback function on the creation of a object could open oppurtunities for better UI feel and responsiveness.