Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sencha event logger
(function() {
// No mouse version
Ext.Component.prototype.fireEvent =
Ext.Function.createInterceptor(Ext.Component.prototype.fireEvent, function() {
if (arguments && arguments[0].indexOf("mouse") === -1 && arguments[0] != "uievent") {
console.log(this.$className, arguments, this);
}
return true;
});})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.