After mucking around, I discovered that it might still be possible to
delegate dragevents. Through the very helpful helper option for a
draggable. Although the current version of the UI library is buggy,
the latest trunk version seems to be working. If you supply a helper
function instead of the usual "clone" or "original", the helper
function is passed two arguments, the element to be dragged (which I
will ignore, it is the container) and the DOM event (mousedown) which
in turn I can use to determine the real draggable through the target
property.

On Nov 13, 2:58 pm, Neil Craig <[EMAIL PROTECTED]> wrote:
> Since this is the official jQuery UI mailing list, I hope to get an
> honest answer from one of the UI devs.
>
> Is there a plan to provide a way for dragging & dropping through the
> event delegation method?
>
> It would be more efficient to attach all the necessary events once,
> especially when a container with elements that changes frequently.
>
> Currently it is possible to delegate a droppable through some
> trickery, but draggables still elude me. The only way is to destroy
> drag events when the contents of the container has changed and re-
> apply them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to