Which events are fired?
18. May 2008 – 11:13We need to know all events that are fired by a component and in which order sometimes. It is easy to find out.
Let’s say that the component in question has id my-comp. Load the page with the component, open Firebug, Console tab, and type:
Ext.util.Observable.capture(Ext.getCmp('my-comp'), console.info)
Now do some actions with the component and watch the Firebug output.
4 Responses to “Which events are fired?”
Good little trick. Thanks for passing it on.
By loeppky on May 19, 2008
You’re welcome. Hopefully more of such are to come…
By Saki on May 20, 2008
Saki,
The amount of time you have saved me over the last few months is immense – thanks very much, you are great.
Doug
By Douglas Ross on Jan 30, 2009
weri guud!!
By Mauro on Jul 15, 2009