Since the 5.1.11 version, we will provide change logs for each version of the update.
miox-router
新增static
方法,用来简化路由队列。
static方法演示:
route.static({
'/a/:id': WebviewA,
'/b/:id': WebviewB,
...
})
- 修正
dictionary
中key变量全部字符串化的Bug.
- 去掉
index.css
中的padding
margin
- 新增
.inactive
class
- 删除
src/miox-convert
模块,因为没有历史包袱,我们不需要使用这个模块。 webview:beforeEnter
事件,不再对于新创建webview过程而言,而是对于整个过程而言。因为将要展示的webview必定是存在的。但是可能选取的时候是不存在的。- 在miox页面切换的时候,增加
.inactive
类,与.active
对应。同时更新animate.js的动画处理逻辑,使其能够更加自如应对各种情况。 - 修改
miox-css
中的.mx-webview>*
样式,要求是一个全屏容器。