English Version | 中文版
A powerful, customizable scrollbar. - vuescrolljs.yvescoding.org
- Support mobile and pc by changing mode
- Support smooth scroll by choosing easing
- Support customize scrollbar
- Support customize scroll container
- Support pull to refresh and push to load
- Support typescript
- And more !
In your entry file:
import Vue from 'vue';
import vuescroll from 'vuescroll';
import 'vuescroll/dist/vuescroll.css';
Vue.use(vuescroll);
Wrap the content you need to scroll by vuescroll
<template>
<div class='your-container'>
<!-- bind your configurations -->
<vue-scroll :ops="ops">
<div class='your-content'>
</div>
</vue-scroll>
</div>
</template>
<script>
export default {
data() {
return {
ops: {
// some configs....
}
}
}
}
</script>
Detailed changes for each release are documented in the release notes.
Please check out CONTRIBUTING.
MIT