Side navigation
#202 closed enhancement (fixed)
Opened September 17, 2006 12:53PM UTC
Closed December 28, 2006 11:37AM UTC
Last modified June 21, 2007 04:15AM UTC
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])
Attachments (0)
Change History (4)
Changed September 17, 2006 07:59PM UTC by comment:1
Changed September 18, 2006 04:36AM UTC by comment:2
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.
Changed November 15, 2006 12:50PM UTC by comment:3
milestone: | → 1.1 |
---|---|
priority: | minor → major |
version: | → 1.1 |
Check this for reference when implementing: http://jquery.offput.ca/event++/
Changed December 28, 2006 11:37AM UTC by comment:4
resolution: | → fixed |
---|---|
status: | new → closed |
Fixed in SVN.
Something like this?
You could then also extend each event:
Would that be of any use?