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

How to instanciate a view ?

$
0
0

Hi,


It seems there are several ways to instanciate a view! What's the difference between 


var oView =  sap.ui.view({id:"parent", viewName:"parent", type:sap.ui.core.mvc.ViewType.JS});



var oView = new sap.ui.view({id:"parent", viewName:"parent", type:sap.ui.core.mvc.ViewType.JS});


Thanks

sakthivel


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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