All Projects → LiuChangkang → vue-native-scroll

LiuChangkang / vue-native-scroll

Licence: other
native scroll base vue. 原生滚动插件

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Vue
7211 projects

Projects that are alternatives of or similar to vue-native-scroll

vue-undraw
Vue unDraw Components: MIT licensed illustrations by unDraw (http://undraw.co) for your Vue projects
Stars: ✭ 31 (+121.43%)
Mutual labels:  vue-components
vue
Vue.js Demos. jQWidgets Vue.js Components - Grids, Charts, Scheduling, Pivot Tables
Stars: ✭ 55 (+292.86%)
Mutual labels:  vue-components
office-fabric
johannes-z.github.io/office-fabric/
Stars: ✭ 12 (-14.29%)
Mutual labels:  vue-components
vue-avatar-editor
Avatar editor for Vue.js. Demo on : https://fpluquet.github.io/vue-avatar-editor/
Stars: ✭ 85 (+507.14%)
Mutual labels:  vue-components
v-page
A simple pagination bar, including length Menu, i18n support, based on Vue2.x
Stars: ✭ 85 (+507.14%)
Mutual labels:  vue-components
v-pip
🖼 Tiny vue wrapper for supporting native picture-in-picture mode.
Stars: ✭ 30 (+114.29%)
Mutual labels:  vue-components
vue2-timeago
🙌 A vue component used to format date with time ago statement. 💬
Stars: ✭ 76 (+442.86%)
Mutual labels:  vue-components
smart-tagz
🏷Smart input tags for Vue
Stars: ✭ 28 (+100%)
Mutual labels:  vue-components
v-tostini
Toast plugin for Vue.js 2.x
Stars: ✭ 12 (-14.29%)
Mutual labels:  vue-components
cms
🛠️ Simple smart CMS for Nette and Vue.js
Stars: ✭ 12 (-14.29%)
Mutual labels:  vue-components
hoc-element-table
📦 A Vue 3.x Table Component built on Webpack 5
Stars: ✭ 26 (+85.71%)
Mutual labels:  vue-components
vue-eslint-editor
A code editor component to play ESLint.
Stars: ✭ 35 (+150%)
Mutual labels:  vue-components
deep-ui
✨✨✨ 快速打造团队业务或者个人组件 UI 库 , 欢迎各位大佬 fork pr 添砖搬瓦
Stars: ✭ 18 (+28.57%)
Mutual labels:  vue-components
vue-qrcode-component
Create QR codes with a simple Vue component
Stars: ✭ 97 (+592.86%)
Mutual labels:  vue-components
vue-impress
vue component inspired by impress.js
Stars: ✭ 43 (+207.14%)
Mutual labels:  vue-components
vue-scrolly
Overlay scrollbar for Vue.js.
Stars: ✭ 24 (+71.43%)
Mutual labels:  vue-components
vue-scratchable
A Vue.js wrapper component that turns everything into fun scratch cards.
Stars: ✭ 42 (+200%)
Mutual labels:  vue-components
cropper
基于vue的图片裁剪组件 支持vue 2.0
Stars: ✭ 44 (+214.29%)
Mutual labels:  vue-components
vitepress-for-component
📖 针对组件开发的VitePress。
Stars: ✭ 142 (+914.29%)
Mutual labels:  vue-components
vue-mapbox-map
A minimalist Vue component wrapping Mapbox GL or MapLibre GL for dynamic interaction!
Stars: ✭ 26 (+85.71%)
Mutual labels:  vue-components

vue-native-scroll

Version

原生滚动插件,解决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组件可以实现局部区域的下拉刷新。
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].