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

How to add controls in javascript mobile view?

$
0
0

I've created a mobile project and created a view then when i'm trying to add a control in the view i cannot do something like this

var myButton = new sap.m.Button("myButton", {text:"my button")};

and one more thing if i need to create an application that will work on both mobile and desktop must i create two separate projects one for the mobile and one for the desktop or is there is a way to use the same project for both

thanks in advance


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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