新增
- Toolbar: 工具栏,支持组合多个操作
优化
- TypeScript: 支持 TypeScript
- TimePicker: 支持任意数值的
delay
,新增showNow
属性的子配置项text
配置现在选项的文案 - Slide: 新增
options
属性支持 BetterScroll 的所有配置项,新增scroll-end
事件 - Scroll: 新增
scroll-events
属性配置需派发的 scroll 事件,新增scroll-end
事件 - Warn: 新增非生产环境中的 Cube 报错和提示
Breaking Changes
- Input: 当
eye.reverse
为false
时,open
的true
值对应密码可见,之前版本相反
Fixes
- Drawer: 修复 #183
- Slide: 修复竖向轮播时,
change
事件的参数 bug
依赖
- 升级 BetterScroll 到 v1.11.1,具体更新可见 https://github.com/ustbhuangyi/better-scroll/releases
New Features
- Toolbar: Group several actions into a toolbar.
Improvements
- TypeScript: Support TypeScript.
- TimePicker: Support any number set to
delay
,add the sub optiontext
ofshowNow
to configure the text of now. - Slide: Add property
options
to support all the options of BetterScroll, add eventscroll-end
. - Scroll: Add property
scroll-events
to configure which scroll events need to be emitted, add eventscroll-end
- Warn: Add the Cube warnings and tips in non-production environment.
Breaking Changes
- Input: When
eye.reverse
isfalse
, thetrue
value ofopen
correspond to visible password now.
Fixes
- Drawer: Fix #183
- Slide: Fix the argument bug of
change
event in vertical slide.
Dependencies
- Update BetterScroll to v1.11.1, see changes https://github.com/ustbhuangyi/better-scroll/releases