Bug Tracker

Opened 10 years ago

Last modified 10 years ago

#9395 closed enhancement

Better Information About Events in Console — at Version 2

Reported by: giles.dermody@… 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 Rick Waldron)

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:

  1. $(""input"").change(function() { console.info(""manual event 1""); });
  2. *run plugin*
  3. $(""input"").change(function() { console.info(""manual event 3""); });

Change History (2)

comment:1 Changed 10 years ago by john

Keywords: 1.7-discuss added

Nominating ticket for 1.7 discussion.

comment:2 Changed 10 years ago by Rick Waldron

Description: modified (diff)

-1, Can be achieved with developer tools such as Firebug and Chrome

Note: See TracTickets for help on using tickets.