demoapp/MyLibraryDemoApp/webapp/Component.js
function() {
			// call the base component's init function
			UIComponent.prototype.init.apply(this, arguments);

			// set the device model
			this.setModel(models.createDeviceModel(), "device");
			
			// create the views based on the url/hash
            this.getRouter().initialize();
		}
function() {
			// call the base component's init function
			UIComponent.prototype.init.apply(this, arguments);

			// set the device model
			this.setModel(models.createDeviceModel(), "device");
			
			// create the views based on the url/hash
            this.getRouter().initialize();
		}
function ( ) { // call the base component's init function UIComponent . prototype . init . apply ( this , arguments ) ; // set the device model this . setModel ( models . createDeviceModel ( ) , "device" ) ; // create the views based on the url/hash this . getRouter ( ) . initialize ( ) ; }
The component is initialized by UI5 automatically during the startup of the app and calls the init method once.
@public
@override
The component is initialized by UI5 automatically during the startup of the app and calls the init method once .