Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

How to get classname and superclassname for a SAP control

$
0
0

Hello,

 

I would like to know if it is possible to get the classname, superclassname/superclass for a SAP control.

 

e.g.

     var myControl = sap.ui.getCore().byId('myId');

     var classname = myControl.getClass().getName();

     var superclassname = myControl.getSuperclass().getName();

     var superclass = myControl.getSuperclass();

 

Thanks.

 

Best regards,

Lei


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>