2.0.0-beta • Published 5 years ago
vue-native-scroll v2.0.0-beta
vue-native-scroll
原生滚动插件,解决ios和安卓上web浏览器元素在局部div内滚动产生的问题。
install
npm install vue-native-scroll --save
yarn add vue-native-scroll
usage
import Vue from 'vue'
import ScrollView from 'vue-native-scroll';
Vue.use(ScrollView, {
name: 'scroll-view' // 全局component名,默认ScrollView
});
<template>
<scroll-view>
<div>滚动条内部</div>
</scroll-view>
</template>
或
import ScrollView from 'vue-native-scroll';
new Vue({
components: {
'scroll-view': ScrollView
}
});
tip
配合vant的PullRefresh组件可以实现局部区域的下拉刷新。
2.0.0-beta
5 years ago
1.5.0
5 years ago
1.3.5
5 years ago
1.3.4
5 years ago
1.3.3
5 years ago
1.3.2
6 years ago
1.3.1
6 years ago
1.3.0
6 years ago
1.2.0
6 years ago
1.1.1
6 years ago
1.1.0-beta1
6 years ago
1.1.0-beta
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
1.0.0-beta2
6 years ago
1.0.0-beta
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago