@epoint-mrc/ejsv4-test
v0.0.6
Published
ejs 4.x,一套混合开发方案
Downloads
3
Readme
@epoint-mrc/ejs
一个混合APP开发方案,包括架构思路,前端源码,系列API文档教程等。
更新记录
20201030
版本更新4.0.1
新增
basicCard
模块ejs.basicCard.showBigCardEntrance
- 卡片底部增加箭头按钮,点击展开卡片扩展页面
ejs.basicCard.setBigCardTitle
- 设置扩展卡片标题
ejs.basicCard.setCardHeight
- 设置卡片高度
event
ejs.event.registerEvent
新增支持事件onCardOpenbox
卡片显示事件,onCardClosebox
卡片隐藏事件
20200923
版本更新4.0.0
全局调用
app
- 小程序生命周期事件
device
ejs.device.isHasVirtualPosApp
- 检测手机上是否安装虚拟定位软件(仅Andriod)
event
ejs.event.on
- 小程序、H5卡片事件通信,注册长期监听的事件
ejs.event.once
- 小程序、H5卡片事件通信,注册短期监听的事件,只执行一次
ejs.event.emit
- 小程序、H5卡片事件通信,触发监听的事件
ejs.event.off
- 小程序、H5卡片事件通信,解除事件绑定
io
ejs.io.report
- 埋点统计
ui
- h5环境下改用
vant
作为ui库,API样式修改
- h5环境下改用
runtime
canIUse
- 判断API当前是否可用
storage
(小程序API)ejs.storage.getPlatformParam
- 获取小程序配置参数(先从独立配置中获取,否则从通用配置中获取)
ejs.storage.getPlatformShareParam
- 获取小程序通用平台参数配置
ejs.storage.getPlatformPrivateParam
- 获取小程序独立配置参数
ejs.storage.getShareItem
- 小程序通用数据库取数据
ejs.storage.setShareItem
- 小程序通用数据库存或更新数据
ejs.storage.removeShareItem
- 小程序通用数据库删数据