An open API service indexing awesome lists of open source software.

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

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



{{key}}

{{entry}}



```

---

## License

Released with [MIT License](./LICENSE) © [codekraft-studio](https://github.com/codekraft-studio)