# vue-pagination-pc

> 用于pc端的分页vue版

Latest version **1.2.0** (published 2020-03-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install vue-pagination-pc
pnpm add vue-pagination-pc
yarn add vue-pagination-pc
bun add vue-pagination-pc
```

## 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.2.0 |
| Published | 2020-03-21 |
| First published | 2020-03-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 67.1 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | adminparry |

## Links

- npm: https://www.npmjs.com/package/vue-pagination-pc
- npm.io page: https://npm.io/package/vue-pagination-pc

## Dependencies (1)

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

## Recent versions

- 1.2.0 (latest) — 2020-03-21
- 1.0.0 — 2020-03-21

## README

# vue-pagination-pc

> pagination for pc, based Vue2.x

### 安装（Install）
``
npm install vue-pagination-pc -save
``

### 导入（Import）
#### *.js
```javascript
import Pagination from 'vue-pagination-pc'
```

### 可全局注册使用
```javascript
Vue.use(Pagination);
```

### demo
```html
 <template>
    <div>
        <vue-pagination-pc :total-count="1000" :page-length="20" :current-page="2" @current-change="currentChange"/>
    </div>
    
</template>
<script>

export default {
    methods:{
        currentChange(nVal, oVal){

        }
    }
}
</script>
```

### 功能（Api）

| Options         | Type     | Description                 | Default | Necessary | Result |
|-----------------|:--------:|:---------------------------:|:-------:|:---------:|:------:|
| total-count | number | 总条数 | 0 | 是 | |
| page-length | number | 每页条数 | 0 | 是 | |
| current-page | number | 当前页 |  | 是 | |
| current-change | function | 页数变化时执行 |  | 是 | 返回变化后的当前页 |

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