Modify ↓
Ticket #3665 (closed feature: fixed)
Pass the namespace to $.event.special.foo.setup
| Reported by: | flesler | Owned by: | flesler |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | event | Version: | 1.2.6 |
| Keywords: | event special namespace | Cc: | john |
| Blocking: | Blocked by: |
Description
This would allow something like this:
$('#foo').bind('livequery.click',function(){});
$('#foo').bind('livequery.mouseover',function(){});
In this case, we use the event as namespace, and the namespace as event. We let one function handle a whole set of events.
Maybe there's a better solution ? like allowing both the event type and the ns to match a $.event.special name ?
Change History
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.

Added at [5990] by John.