Material App Development

// Main View
<core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
controllerName="material_downgrade.MD" xmlns:html="http://www.w3.org/1999/xhtml">
<App id="AppId">

</App>
</core:View>

// Main Controller

sap.ui.controller("material_downgrade.MD", {

/**
* Called when a controller is instantiated and its View controls (if available) are already created.
* Can be used to modify the View before it is displayed, to bind event handlers and do other one-time initialization.
* @memberOf material_downgrade.MD
*/
// onInit: function() {
//
// },

/**
* Similar to onAfterRendering, but this hook is invoked before the controller's View is re-rendered
* (NOT before the first rendering! onInit() is used for that one!).
* @memberOf material_downgrade.MD
*/
// onBeforeRendering: function() {
//
// },

/**
* Called when the View has been rendered (so its HTML is part of the document). Post-rendering manipulations of the HTML could be done here.
* This hook is the same one that SAPUI5 controls get after being rendered.
* @memberOf material_downgrade.MD
*/
// onAfterRendering: function() {
//
// },

/**
* Called when the Controller is destroyed. Use this one to free resources and finalize activities.
* @memberOf material_downgrade.MD
*/
// onExit: function() {
//
// }

});

Post a Comment

Previous Post Next Post