- Ext.extend(Namespace.ClassName, BaseClass, {
- handler: function(event-params) {
- // this is really the instance...
- }
- public_method: function() {
- // "this" is really the instance of the class
- // this is how you fire an event:
- this.fireEvent("event1", { data: "event data" });
- }
- });