1.

What All Events/life Cycle Are Available In Sapui5’s Views Controller?

Answer»

There are 4 lifecycle available in SAPUI5’s views controller, they are:

  1. onInit() – it is called when a view is INSTANTIATED and its controls have already been created.
  2. onExit() – it is called when the view is destroyed, used to FREE resources and finalize activities.
  3. onAfterRendering() - when the view has been rendered and, THEREFORE, its HTML is part of the document.
  4. onBeforeRendering() -It is called before the controller view is re-rendered and not before the first RENDERING

There are 4 lifecycle available in SAPUI5’s views controller, they are:



Discussion

No Comment Found