-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathComponent.js
More file actions
24 lines (19 loc) · 747 Bytes
/
Copy pathComponent.js
File metadata and controls
24 lines (19 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
sap.ui.define([
'jquery.sap.global', 'sap/ui/Device', 'sap/ui/core/UIComponent', 'sap/ui/core/mvc/View', 'sap/ui/core/routing/History',
'sap/ui/model/json/JSONModel', 'sap/ui/model/resource/ResourceModel', 'sap/m/InstanceManager', 'sap/m/routing/RouteMatchedHandler'
], function(jQuery, Device, UIComponent, View, History, JSONModel, ResourceModel, InstanceManager, RouteMatchedHandler) {
"use strict";
return UIComponent.extend("iba.practice.Component", {
metadata : {
manifest: "json",
id: "componentId"
},
init : function() {
UIComponent.prototype.init.apply(this, arguments);
this.getRouter().initialize();
},
destroy : function() {
UIComponent.prototype.destroy.apply(this, arguments);
}
});
});