Skip to content

Instantly share code, notes, and snippets.

@angie
Created November 17, 2015 08:58
Show Gist options
  • Save angie/f17c9836192509cf4fec to your computer and use it in GitHub Desktop.
Save angie/f17c9836192509cf4fec to your computer and use it in GitHub Desktop.
Capture all events fired by an Ext JS component
Ext.util.Observable.capture(component, function() {
console.log(arguments)
});
@angie
Copy link
Author

angie commented Nov 17, 2015

Where component is the selector for any component which has the Ext.util.Observable mixin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment