Closed
Bug 1222447
Opened 9 years ago
Closed 1 year ago
events() helper for DOM Nodes
Categories
(DevTools :: Console, enhancement, P3)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1164285
People
(Reporter: canuckistani, Unassigned)
Details
I think it might be useful to be able to, from the console, get a list of event bindings on a given node, eg
>> events('#some-button')
<< Array[ { event: 'click', handler: './jquery.js:6'}, {event: 'click', handler: './myapp.js:234' } ]
Clicking on file.js:$n in the above example would follow our established pattern of linking to the js source in the debugger.
events() should be able to use a DOM node, a CSS selector and possibly a jquery object ( print out a list of selected nodes that have bound events?? )
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•