# load-more-llh

> ```markdown 每当我们一个页面加载到非常多的数组项时，想要实现“滚动触底，加载更多”的效果，可以使用这个插件。 ```

Latest version **1.0.2** (published 2021-10-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install load-more-llh
pnpm add load-more-llh
yarn add load-more-llh
bun add load-more-llh
```

## 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 | 2021-10-28 |
| First published | 2021-10-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 25.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | liumou-i |

## Links

- npm: https://www.npmjs.com/package/load-more-llh
- npm.io page: https://npm.io/package/load-more-llh

## Recent versions

- 1.0.2 (latest) — 2021-10-28
- 1.0.1 — 2021-10-28
- 1.0.0 — 2021-10-28

## README

# 瀑布流



```markdown
每当我们一个页面加载到非常多的数组项时，想要实现“滚动触底，加载更多”的效果，可以使用这个插件。
```



> 作者:Liumou-i

## 一.安装

```vue
npm i load-more-llh -S
```

或

```vue
yarn add load-more-llh 
```



## 二.引入

```js
import LoadMore from 'load-more-llh'

Vue.use(LoadMore)
```



## 三.使用

在产品列表组件上做修改，举例：
如原来的组件是一次性渲染写法:

```markdown
<Products :arr="goodsArr" />
```

现在修改为:

```vue
  <LoadMore :bigarr="goodsArr" :size="8" >
            <Proudck  slot-scope="scope" :arr="scope.samllarr"/>
    </LoadMore>
```



## 四.备注关键词

```markdown
- `bigarr` 代表你要渲染的总数据（Array类型）
- `size` 代表你每次滚动要加载多少项(Number类型)
- `samllarr` 代表每次返回出来的新数组
```

- ```
  只需要修改 <LoadMore><LoadMore>组件里面的属性值即可.
  ```

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