#202 closed enhancement (fixed)
Binding events with parameters
Reported by: | Stefan Petre | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.1a |
Component: | event | Version: | 1.1a |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I whould like you to bring to another level the bind() function so it can accept extra parameters to pass to called function something like:
bind(type, fn, [array parameters])
Change History (4)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
I've been spoiled by other libraries in this area and have enjoyed easily passing extra params to event handlers. This type of feature would be great.
comment:3 Changed 16 years ago by
Milestone: | → 1.1 |
---|---|
Priority: | minor → major |
Version: | → 1.1 |
Check this for reference when implementing: http://jquery.offput.ca/event++/
Note: See
TracTickets for help on using
tickets.
Something like this?
You could then also extend each event:
Would that be of any use?