UNPKG

grunt-tdevopsui5

Version:

UI5 tools for build/deploy/version managment of ui5 applicaton

22 lines (18 loc) 649 B
sap.ui.define(['pslint/appid/controller/BaseController'], function(BaseController) { 'use strict'; return BaseController.extend('pslint.appid.controller.StartPage', { // sLang: null, Test onInit: function() { // Models this._oi18n = this.getResourceBundle(); this._oODataModel = this.getOwnerComponent().getModel(); // routing this.oRouter = sap.ui.core.UIComponent.getRouterFor(this); this.oRouter.getRoute('StartPage').attachPatternMatched(this.handleRouteMatched, this); }, // Router handleRouteMatched: function(oEvent) { // first screen }, }); });