首页 > 应用开发 > IT综合 > 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.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24475491/viewspace-2680158/ ,如需转载,请注明出处,否则将追究法律责任。