ng3-pagination
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Angular Pagination

This library was generated with Angular CLI version 9.1.13.

Angular pagination library.

Easy pissy 😜

Install => Add HTML > Whohooo pagination implemented 🥳

Demo

Live Demo

Code

Usage

Install Ng3 pagination library to your project

npm install ng3-pagination --save

Import Ng3PaginationModule to your app.module.ts file

import { Ng3PaginationModule } from 'ng3-pagination';

imports: [
    ....
    Ng3PaginationModule,
    ...
],

Use ng3-pagination component inside your componenent

<ng3-pagination
  [currentPage]="1"
  [totalCount]="1000"
  [pageSize]="10"
  (pageChanged)="onPageChanged($event)"
></ng3-pagination>

Attributes

Options Description Default value
currentPage Current active page number 1
totalCount Number of total items in the list 0
pageSize Number of total items in the list 10

Method

Method Description return value
pageChanged Triggers when user click on the any page number or next button or previous button from pagination component number (selected by user)

License

This repository and the code inside it is licensed under the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i ng3-pagination

Weekly Downloads

1

Version

0.0.5

License

none

Unpacked Size

137 kB

Total Files

23

Last publish

Collaborators

  • divya_chavda