UI5 Control lazy load mechanism
生活随笔
收集整理的這篇文章主要介紹了
UI5 Control lazy load mechanism
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
- Create dummy constructor which loads the class on demand
- this is a derived ( generated ) file. Change should be done in the underlying source files only(*.control, *.js) or they will be lost after the next generation.
當UI需要實例化一個js 類的instance時,
首先會call jQuery.sap.require方法去加載該類:
requireModule方法輸入的是該類對應的js文件的相對路徑:
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的UI5 Control lazy load mechanism的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 快递查询 接口_查询快递接口(上快递10
- 下一篇: when is Component-pr