Closed Bug 1222447 Opened 9 years ago Closed 1 year ago

events() helper for DOM Nodes

Categories

(DevTools :: Console, enhancement, P3)

enhancement

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?? )
Product: Firefox → DevTools
Severity: normal → enhancement
Priority: -- → P3
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1164285
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.