SAP UI5和微信小程序框架里的全局变量

时间:2020-03-03 18:59:06   收藏:0   阅读:94

SAP UI5

in global variable sap.ui there are many useful utility service available, such as current browser and os information.

技术图片

and use sap.ui.getCore().byId, we can get any UI5 control instance by its id:

技术图片

微信小程序

wx for Wechat mini program is as sap.ui for SAP UI5:

技术图片
技术图片

__wxConfig is another useful global variable for debugging purpose, cannot be used in mini program itself unfortunately.

技术图片

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
技术图片

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!