Blog.

Which events are fired?

Code in this post can be obsolete, however, principles and theory may still apply.
We 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.

saki
Follow me:
Latest posts by saki (see all)

6 Responses

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Enter your username and password to log into your account. Don't have an account? Sign up.

Want to collaborate on an upcoming project?