UNPKG

ui5flowdev

Version:

UI5FlowDev enables you to manage and run your UI5 applications on a local server with reverse-proxy support. It also provides you the option to build your applications and deploy them to SAP NetWeaver ABAP.

28 lines (22 loc) 791 B
sap.ui.define([ "sap/ui/core/UIComponent", "sap/ui/model/json/JSONModel", "com/oprtnl/ui5locserv/model/models" ], function (UIComponent, JSONModel, models) { "use strict"; return UIComponent.extend("com.oprtnl.ui5locserv.Component", { metadata : { manifest: "json" }, init : function () { // call the init function of the parent UIComponent.prototype.init.apply(this, arguments); // set global properties model this.setModel(models.initGlobalPropertiesModel(), "globalProperties"); // set the device model this.setModel(models.initDeviceModel(), "device"); // initialize router this.getRouter().initialize(); } }); });