PDA

View Full Version : is there a way to query an object for its supported events?



gkatz
19 Nov 2012, 8:20 AM
e.g:
var myComp, //say its an instance of continer
myComp.getEventNames();//returns ['painted','activate',...]
thanks.

mitchellsimoens
21 Nov 2012, 7:20 AM
There isn't a solid way to no. The events aren't added to the component in any way, they are just fired.