1.0.2 • Published 4 years ago

@anishg/angular-pagination v1.0.2

Weekly downloads
13
License
-
Repository
-
Last release
4 years ago

Angular-pagination component for web applications. Easy to integrate and use. It can be bind to any custom data source.

How To Use


1 - install library 2 - Import library into module Example : - import {AngularPaginationModule} from '@anishg/angular-pagination' // ...

@NgModule({ imports: AngularPaginationModule // ... // ... }) export class AppModule {}

3 - For Default <lib-angular-pagination (selectedpage)="onSelectPage($event)"> For Customize <lib-angular-pagination setting="{fontColor:'green',activeFontColor:'yellow',activeBackground:'green',fontSize:22}" (selectedpage)="onSelectPage($event)">

4 - make method onSelectPage and get your selected value Exapmle : - onSelectPage(pageno){ console.log(pageno) }

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago