ExtJS - How to reference “self” in a custom function in a custom class?
问题 How do I reference an instance of a custom class inside a custom function defined within the class? I've extended a class through ExtJS4's class extension "mechanism", and I've a custom event handler that will be called when something is triggered, and I want to collapse the Panel when something is fired. However, in the event handler of the Reactor class below, "this" references EventTriggerer (The firer of the event) instead of the instance of the Reactor. How do I reference the instance of