天天看點

SAP UI5和微信小程式架構裡的全局變量SAP UI5微信小程式

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.

本文來自雲栖社群合作夥伴“汪子熙”,了解相關資訊可以關注微信公衆号"汪子熙"。