# de-paginator

> # Instllation : ```bash npm i de-paginator ```

Latest version **0.0.2** (published 2020-11-18) · 0 weekly downloads

## Install

```sh
npm install de-paginator
pnpm add de-paginator
yarn add de-paginator
bun add de-paginator
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2020-11-18 |
| First published | 2020-10-30 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 63.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | deep1144 |

## Links

- npm: https://www.npmjs.com/package/de-paginator
- npm.io page: https://npm.io/package/de-paginator

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.0.0

## Recent versions

- 0.0.2 (latest) — 2020-11-18
- 0.0.1 — 2020-10-30

## README

# PaginatorLib

# Instllation : 
```bash
npm i de-paginator
```

## Import Module:

#### In `app.module.ts`:
```typescript
import {DePaginatorModule} from 'de-paginator';

...

imports: [
  ...,
  DePaginatorModule
],
```

## Example Usage : 

### First run

#### in `app.component.html`
```typescript
<lib-de-paginator
  [currentPage]="page"
  [limitPerPage]="limit"
  [total]="total"
  (changePage)="pageSelect($event)"
></lib-de-paginator> 
```

#### in `app.component.ts`
```typescript
import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'paginator-lib';
  total : Number = 151;
  limit : Number = 10;
  page : Number = 1;
  selectedPage ;
  pageSelect(e){
    alert('selected page is:' ,e);
    this.selectedPage =e;
  }
}
```

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