2.0.0-beta • Published 3 years ago

vue-native-scroll v2.0.0-beta

Weekly downloads
22
License
Apache
Repository
github
Last release
3 years ago

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

3 years ago

1.5.0

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0-beta1

5 years ago

1.1.0-beta

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

1.0.0-beta2

5 years ago

1.0.0-beta

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago