0.0.5 • Published 2 years ago

ng3-pagination v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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

OptionsDescriptionDefault value
currentPageCurrent active page number1
totalCountNumber of total items in the list0
pageSizeNumber of total items in the list10

Method

MethodDescriptionreturn value
pageChangedTriggers when user click on the any page number or next button or previous button from pagination componentnumber (selected by user)

License

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

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago