v1.1.0
Features
-
自动移除通过createX实例化的组件 #31
-
通过createX实例化的组件实例上的
show和hide方法支持链式调用 -
新增 Dialog 的 btns 插槽 #27
-
createX支持可选参数single,用于决定组件实例是否是单例的
Breaking Changes
- Scroll props (click, probeType,scrollbar,pullDownRefresh,pullUpLoad) 现在合并入
optionsprop 了,同时也新增了 observeDOM 参数;click默认改为true #22 - Dialog 和 ActionSheet 默认是单例模式了
BetterScroll 使用版本1.5.3, 可参见 1.5 release log:
https://github.com/ustbhuangyi/better-scroll/releases/tag/v.1.5.0
Features
-
auto remove global components #31
-
showandhidemethods on component instance which is created bycreateXsupport chaining -
Dialog btns slot #27
-
createXsupport optional parametersingle, it is used to decided whether the instantiated component is a singleton or not
Breaking Changes
- Scroll props (click, probeType,scrollbar,pullDownRefresh,pullUpLoad) now moved to
optionsprop, and added observeDOM option & changed the click option to true by default #22 - Dialog and ActionSheet are singleton by default, before 1.1, they are not singleton
BetterScroll version 1.5.3, see 1.5 release log:
https://github.com/ustbhuangyi/better-scroll/releases/tag/v.1.5.0