I would suggest you to go through the below link. It is well documented
https://sapui5.netweaver.ondemand.com/sdk/#docs/guide/91f057786f4d1014b6dd926db0e91070.html
I would suggest you to go through the below link. It is well documented
https://sapui5.netweaver.ondemand.com/sdk/#docs/guide/91f057786f4d1014b6dd926db0e91070.html