Side navigation
#4792 closed enhancement (wontfix)
Opened June 19, 2009 10:30PM UTC
Closed November 17, 2010 04:29AM UTC
modifying the arguments for event trigger
Reported by: | simon_000666 | Owned by: | brandon |
---|---|---|---|
Priority: | minor | Milestone: | 1.4 |
Component: | event | Version: | 1.3.2 |
Keywords: | bind | Cc: | |
Blocked by: | Blocking: |
Description
I think that when you call trigger, the second argument should extend the event.data object in the call rather than being the next argument so it is more consistent with the way bind works.
e.g.
foo.trigger("bar", {foo: bar1}, [{foo2: bar}]);
I started a thread about it here:
Attachments (0)
Change History (1)
Changed November 17, 2010 04:29AM UTC by comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
The current design of segregating bind-time data from trigger-time data has its advantages, and extending the object would add another thing to be done at event delivery time which could impact performance.