Which events are fired?

18. May 2008 – 11:13

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.


StumbleUpon Toolbar
  1. 4 Responses to “Which events are fired?”

  2. Good little trick. Thanks for passing it on.

    By loeppky on May 19, 2008

  3. You’re welcome. Hopefully more of such are to come… ;)

    By Saki on May 20, 2008

  4. 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

  5. weri guud!!

    By Mauro on Jul 15, 2009

Post a Comment

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a