Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Hook methods in View Controller in SAP UI5

$
0
0

Hi UI5 Experts,

 

 

Can anyone please explain in detail the following hook methods and their purpose?

 

1)OnInIt

2)OnBeforeRendering

3)OnAfterRendering

 

In my opinion that Init method executes when the view is instantiated for the first time.

OnBeforeRendering invokes before the view is displayed.But I placed the breakpoint in OnBeforeRendering method.It executes only once i.e first when view is instantiated.

 

Please correct if I am wrong.

 

Regards,

Arjun


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>