Side navigation
#14704 closed feature (wontfix)
Opened January 17, 2014 12:40PM UTC
Closed January 23, 2014 04:47PM UTC
Last modified January 23, 2014 05:04PM UTC
Make .trigger() accept varargs to event data
Reported by: | rodolfo@rodolfoferreira.com.br | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Whenever I need to pass aditional parameters to .trigger(), I always feel that I could pass those as separate arguments after the event name, and not always as an array.
I'm not sure about backwards-compatibility issues though.
You're right. It is a back-compat issue.
Consider this case...
or worse...
To keep it simple, we've come to recommend that extra arguments always be passed in an array.