Friday, January 6, 2012

How to observe all the events on a view

Here's how to observe all of the events on a view:
var view = Ext.create('My.view.SomeView');

Ext.util.Observable.capture(view, function(){
This will show output in the console window whenever an event happens to the view, such as render. A useful debugging tool.

No comments:

Post a Comment