[Dojo-interest] How to get superclassname for a DOJO control

LeiWang lei.wang at sas.com
Fri Jan 24 01:52:39 EST 2014


Hi,
I would like to know if it is possible to get the superclassname for a dojo
control.

We can get the classname for a dojo control by its property 'declaredClass',
anyone know how to get the superclassname of the same dojo control.

e.g.
     var myControl = window.dijit.registry.byId('myId');
     var classname = myControl.declaredClass;
     var superclassname = myControl.getSuperclass().getName();
     var superclass = myControl.getSuperclass();


Thanks,
Regards,
Lei



--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/How-to-get-superclassname-for-a-DOJO-control-tp4000831.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.


More information about the Dojo-interest mailing list