Opened 12 years ago
Closed 12 years ago
#9395 closed enhancement (wontfix)
Better Information About Events in Console
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.7 |
Component: | event | Version: | 1.6.1 |
Keywords: | 1.7-discuss | Cc: | |
Blocked by: | Blocking: |
Description (last modified by )
1) Make it possible to show what events are bound to a matched selector and the ORDER in which they will execute - maybe display this in JSON in the order they can be fetched 2) Make it possible to change the ordering of bound events on a matched selector.....somehow (-:
If 2) is impossible to do with a standalone function then it should be sufficient to unbind/rebind events manually if they were bound using namespaces in the first place - this is provided that solution 1) can be found and it is possible to query the current ordered events.
Example
Let's say a form plugin adds a function to a particular input element's ""change"" behavior..
...........(plug-in applies event to specified input).........
Then in the site script, the user wants to apply a couple of evenst manually to this form element. However, they want one event to occur before and one to occur after. This is only possible at the moment if:
- $(""input"").change(function() { console.info(""manual event 1""); });
- *run plugin*
- $(""input"").change(function() { console.info(""manual event 3""); });
Change History (14)
comment:1 Changed 12 years ago by
Keywords: | 1.7-discuss added |
---|
comment:2 Changed 12 years ago by
Description: | modified (diff) |
---|
-1, Can be achieved with developer tools such as Firebug and Chrome
comment:5 Changed 12 years ago by
Can these be changed with developer tools though to do something like this?
http://stackoverflow.com/questions/290254/how-to-order-events-bound-with-jquery
comment:6 Changed 12 years ago by
Description: | modified (diff) |
---|
"Although all EventListeners on the EventTarget are guaranteed to be triggered by any event which is received by that EventTarget, no specification is made as to the order in which they will receive the event with regards to the other EventListeners on the EventTarget."
http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-basic-h3
comment:7 Changed 12 years ago by
Component: | unfiled → event |
---|
comment:8 Changed 12 years ago by
Priority: | undecided → low |
---|---|
Status: | new → open |
comment:12 Changed 12 years ago by
Description: | modified (diff) |
---|
-1, This DEFINITELY needs to be done in a plugin - it's a good idea for one (I took one pathetic crack at it once, and lost interest). It seems to have to be more of a "priority" system more than an "order" system, I tend to think.
comment:14 Changed 12 years ago by
Milestone: | 1.next → 1.7 |
---|---|
Resolution: | → wontfix |
Status: | open → closed |
Closing per 1.7 roadmap meeting resolution
Nominating ticket for 1.7 discussion.