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

UI Control is not working

$
0
0

I am not able to see my label using this simple snippet of code

 

I am a newbie and will appreciate if anyone can help me

 

 

<!DOCTYPE HTML>

<html>

       <head>

              <meta http-equiv="X-UA-Compatible" content="IE=edge">

 

 

                                   <script src="resources/sap-ui-core.js"

                      id="sap-ui-bootstrap"

                      data-sap-ui-libs="sap.ui.commons,sap.ui.ux3"

                      data-sap-ui-theme="sap_goldreflection" >

                                   </script>

              <!-- add sap.ui.table,sap.ui.ux3 and/or other libraries to 'data-sap-ui-libs' if required -->

 

 

                                   <script>

             var label = new sap.ui.commons.Label({text:"Delete"});    

                                          label.placeAt("content");

                                       

                                      

                                   </script>

 

 

       </head>

       <body class="sapUiBody">

              <div id="content"></div>

       </body>

</html>


Viewing all articles
Browse latest Browse all 6178

Latest Images

Trending Articles



Latest Images

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