https://github.com/codekraft-studio/vue-autoscroll
Automatic scroll-down on event directive for VueJs
https://github.com/codekraft-studio/vue-autoscroll
autoscroll vue-directive vuejs
Last synced: 3 months ago
JSON representation
Automatic scroll-down on event directive for VueJs
- Host: GitHub
- URL: https://github.com/codekraft-studio/vue-autoscroll
- Owner: codekraft-studio
- License: mit
- Created: 2018-11-26T05:35:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T01:27:49.000Z (over 2 years ago)
- Last Synced: 2025-01-16T01:29:01.838Z (4 months ago)
- Topics: autoscroll, vue-directive, vuejs
- Language: Vue
- Homepage: https://codekraft-studio.github.io/vue-autoscroll/
- Size: 3.18 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-autoscroll
> Automatic scroll-down directive for VueJs
### [DEMO](https://codekraft-studio.github.io/vue-autoscroll/)
## Installation
Install the project locally using your favourite package manager.
```
npm install @codekraft-studio/vue-autoscroll
```Register the plugin in your Vue application.
```js
import Vue from 'vue'
import VueAutoscroll from '@codekraft-studio/vue-autoscroll'Vue.use(VueAutoscroll)
```Than place the directive on the container you want to scroll automatically.
```html
```
You can also use custom scroll settings.
```html
```
If you have a complicate html structure and you need to watch also for grandchildrens and more, you can use the __deep__ modifier.
```html
```
---
## License
Released with [MIT License](./LICENSE) © [codekraft-studio](https://github.com/codekraft-studio)