- clean core code
- fix custom event bug for all components
- update docs
- update
pullUp
and pullDown
actions
pullDownAction(refresh: Function)
pullUpAction(refresh: Function)
<ui-scroll ref="iScroll" :pullUpAction="pullUpAction"></ui-scroll>
export default {
methods: {
firstLoaded() {
// Update here your DOM
this.$refs.iScroll.refresh();
},
pullUpAction(refresh) {
// Update here your DOM
setTimeout(function() {
refresh();
}, 0);
}
}
};
- remove config:
refreshTimeout
- add
debug
: boolean
prop for development
- fix
pullUpLabel
watch status
- add
scrollEnabled
: boolean
prop for load more data controls
- fix
transition
style bug
- fix
touchmove
event bug