angular-paginator-guru
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

AngularPaginatorGuru

A simple and highly customizable plug-n-play package for pagination in Angular (v2+)

Quick Start

$ npm install angular-paginator-guru

Sample Implementation

// app.module.ts
import {PaginatorModule} from 'angular-paginator-guru'; // <-- import the module

@NgModule({
    imports: [BrowserModule, PaginatorModule], // <-- include it in your app module
})
<app-paginator-guru 
    (PageChange)="onPageChange($event)" 
    totalItemsCount=90 
    itemsPerPage=10>
</app-paginator-guru>

onPageChange(currentPage) {
    // Fetch data based on currentPage and update collection
    // console.log(currentPage)
}

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i angular-paginator-guru

Weekly Downloads

1

Version

0.0.1

License

none

Unpacked Size

83.2 kB

Total Files

23

Last publish

Collaborators

  • mouleesh