[su_icon_text icon=”icon: info-circle” icon_color=”#5b63df” class=”saki-info-box”]Code in this post can be obsolete, however, principles and theory may still apply.[/su_icon_text] 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.
I'm a well seasoned developer, consultant and educator of web applications based mainly on Sencha libraries, PHP, MySQL and Node.js. Besides (Apple) computers, I love photography and mountain biking.
Follow me:
Latest posts by saki (see all)
- Ext, Angular, React, and Vue - 27. June 2019
- The Site Resurgence - 11. February 2018
- Configuring ViewModel Hierarchy - 19. June 2015