# libj-vue-comp-pagination

> xxx

Latest version **1.0.0** (published 2019-08-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install libj-vue-comp-pagination
pnpm add libj-vue-comp-pagination
yarn add libj-vue-comp-pagination
bun add libj-vue-comp-pagination
```

## 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.0 |
| Published | 2019-08-20 |
| First published | 2019-08-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 422.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | saeidfarahi |

## Links

- npm: https://www.npmjs.com/package/libj-vue-comp-pagination
- Repository: https://saeidfarahi@dev.azure.com/saeidfarahi/libj-vue-comp-pagination/_git/libj-vue-comp-pagination
- npm.io page: https://npm.io/package/libj-vue-comp-pagination

## Dependencies (2)

- [core-js](https://npm.io/package/core-js.md) ^3.2.1
- [libj-vue-i18n](https://npm.io/package/libj-vue-i18n.md) ^2.0.0

## Recent versions

- 1.0.0 (latest) — 2019-08-20

## README

# libj-vue-comp-pagination
### Part of libj tools

xxx

## Usage
```
npm install libj-vue-comp-pagination
```
```
import 'libj-vue-comp-pagination'
//Now, j-pagination is available globally
```

## j-pagination
### props
- __maxVisibleButtons (Number) | default: 3__ number of buttons between first and last
- __totalRecords (Number) | default: null__ total number of records
- __perPage (Number) | default: null__ number of items for each page
- __currentPage (Number) | default: null__ current page. page numbers start from 1. You must bind this to a variable and
update that variable when _pageChanged_ event fires
### events
- __pageChanged(page)__ is called when page changes


## Test
- Run this in a separate command line to start node server
```
node server.js
```
- Run one of the following to re-create bundles
```
npm run dev
npm run dev:watch
```
- Navigate to http://localhost:3000

## Build
```
npm run build
npm run build:watch
```

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