-
Getting a list of attached Event Handlers for an specific HTML Element / Component
Getting a list of attached Event Handlers for an specific HTML Element / Component
Suppose you inherited a sophisticated EXTJS web app with several widgets and events attached to them.
In the browser I can see the HTML elements created for the component.
How can I get the actual javascript function-handlers for each event attached to the component.
I tried this:
Ext.getCmp('<component-id'>).hasListener('menushow')
but that only gives me a true/false value it does not show what javascript function display the menu?
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us