Bug Tracker

Opened 15 years ago

Closed 14 years ago

#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
Blocked by: Blocking:

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 (1)

comment:1 Changed 14 years ago by flesler

Cc: john added
Resolution: fixed
Status: newclosed

Added at [5990] by John.

Note: See TracTickets for help on using tickets.