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)
}