-
9 Dec 2008 7:08 PM #1
Event List
Event List
Hi there, maybe this is a rookie question, ... when I use listeners I have to asociate and event and then a function, but where can I get the list of events...??? for example, in some pieces of code I've seen events like 'render', 'beforeload', 'click'.... and so..
Is there any place where I can find the whole list.. I've been looking on the doc, but no joy...
thanks
-
9 Dec 2008 7:12 PM #2
The events are in the docs for each class, for example http://extjs.com/deploy/dev/docs/?cl...er=afterlayout
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
9 Dec 2008 7:14 PM #3
-
11 Dec 2008 5:40 AM #4
You can also get a list of events for a given object like this (assumes you're using Firebug):
This works for all classes which inherit from Observable (most of the standard Ext components do this), and is also useful when you have extended a component and added your own events.Code:var win = new Ext.Window(); console.log(w.events);


Reply With Quote
