lynx: registerModule() static method
获取一个可以在当前 LynxView 中共享使用的 JavaScript 对象。
语法
参数
name
需要注册的对象名。
module
需要注册的对象。
返回值
无(undefined)。
示例
在 JS 中获取共享对象
Use the lynx.getJSModule method to get a registered module:
兼容性
LCD tables only load in the browser