Is it possible to add a handler for an event to a draggable that already
exists? That is, if I have in a Widget class:
var Widget = Class.create();
Widget.prototype = {
...
this.draggable = new Draggable(this.element);
...
}
and I create several Widgets, then later, I want to add a handler for the
draggable.onDrag function, what''s the appropriate method to do so?
Thanks in advance!
-Jerod
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs