@anishg/angular-pagination
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @anishg/angular-pagination

Weekly Downloads

3

Version

1.0.2

License

none

Unpacked Size

71.1 kB

Total Files

26

Last publish

Collaborators

  • anishg