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?