Side navigation
#3665 closed feature (fixed)
Opened November 29, 2008 04:43PM UTC
Closed January 03, 2009 01:09AM UTC
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 ?
Attachments (0)
Change History (1)
Changed January 03, 2009 01:09AM UTC by comment:1
| cc: | → john |
|---|---|
| resolution: | → fixed |
| status: | new → closed |
Added at [5990] by John.