I've recently started learning ExtJS, and have trouble understanding how to handle Events. I have no experience of any previous versions of ExtJS.
From reading various manuals, guides and documentation pages, I've figured out how to use it, but I'm not clear on how it works. I've found several tutorials for older versions of ExtJS, but I'm not sure how applicable they are in ExtJS 4.
I'm specifically looking on the "final word" on things like
- what arguments does an event handling function get passed? Is there a standard set of args that always get passed?
- how to define custom events for custom components we write? how can we fire these custom event?
- does the return value (true/false) affect how the event bubbles? If not, how can we control event bubbling from within, or outside of the event handler?
- is there a standard way to register event listeners? (I've come across two different ways til now, and I'm not sure why each method was used).
For example, this question leads me to believe that an event handler can receive quite a few arguments. I've seen other tutorials where there are just two arguments to the handler. What changes?