# vue-paginate-scroll

> Vue component that handles infinite scroll

Latest version **1.0.2** (published 2020-07-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-paginate-scroll
pnpm add vue-paginate-scroll
yarn add vue-paginate-scroll
bun add vue-paginate-scroll
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-07-10 |
| First published | 2020-07-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Mameli Federico |
| Maintainers | federico.mameli |
| Keywords | vue, infinite, scroll, pagination, component |

## Links

- npm: https://www.npmjs.com/package/vue-paginate-scroll
- npm.io page: https://npm.io/package/vue-paginate-scroll

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^2.6.11

## Recent versions

- 1.0.2 (latest) — 2020-07-10
- 1.0.1 — 2020-07-10

## README

# vue-paginate-scroll
Vue component that handles "infinite scroll"


`npm install vue-paginate-scroll`

➡➡[Example here](https://codesandbox.io/s/vue-paginate-scroll-example-ecvqi?file=/src/App.vue)

### Install as global component
```javascript
  //index.js
 
  import Vue from "vue";
  import VuePaginateScroll from "vue-paginate-scroll";
  
  Vue.component('vue-paginate-scroll', VuePaginateScroll);
  
  new Vue({
   //...
  });
```

### Install as local component
```vue
  <script>
  import VuePaginateScroll from "vue-paginate-scroll";
  
  export default {
    ...
    components: { VuePaginateScroll }
    ...
  }
  </script>
```

## Props
  **src**: type: Array, required. Data to use as source.
  
  **perScroll**: type: Number, default: 10. Define how many items to show per scroll
  
  **observerOptions**: type: Object, default: {threshold: .75}. IntersectionObserver options
  
## Slots
  **default**: use this to get the data to display. Data exposed `{ data, currentScroll, lastScroll }`

---
_Source: https://npm.io/package/vue-paginate-scroll · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
