Modify ↓
Ticket #6006 (closed feature: duplicate)
Add `object of event/handler pairs` as an option argument to $.fn.delegate
| Reported by: | deadlyicon | Owned by: | brandon |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4.2 |
| Component: | event | Version: | 1.4.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Extending the API to allow the following:
$(document).delegate(selector, {event:handler});
Attachments
Change History
Changed 3 years ago by deadlyicon
-
attachment
0001-added-object-as-event-fn-pairs-support-to-delegate.patch
added
comment:1 Changed 3 years ago by john
Shouldn't we probably add this to .live() first? It's likely that the changes to delegate would become either simpler or go away altogether.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

patch on top of f9417b9da980f4fa79d03ba691d9f3442c5ab2f2