where is application controller bound to application main view

Created by Jerry Wang, last modified on Jan 17, 2015

在如下方法设置断点:

where is application controller bound to application main view

从callstack可以发现trigger point为application view的实例化:

where is application controller bound to application main view

o 即为application controller的instance, 里面的onInit方法可以在Main.controller.js里找到:

where is application controller bound to application main viewwhere is application controller bound to application main view

注册各种事件处理:

where is application controller bound to application main view

application controller的onInit在这里被注册,之后就能被UI framework 回调:

where is application controller bound to application main view


上一篇:UI5 Navigation execution entry point


下一篇:How to include html native content to UI5 page - 直接在xml view里添加html namespace