Created
October 23, 2015 13:42
-
-
Save krasnobaev/05703c39d85df6a9d11a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Where you create your model | |
var oModel = new CustomModel(); | |
sap.ui.getCore().setModel(oModel); | |
// To access the model from anywhere | |
var oModel = sap.ui.getCore().getModel(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment