@nikxsh/ngpagination
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Angular custom pagination module (NgPaginationModule)

This package is used to implement pagination with default bootstrap design but addon angular support.

  1. Import NgPaginationModule in your app.module
  2. Add below mentioned selector tag in your component's html template
 <pagination
	[totalItems]="totalItems"
	[itemsPerPage]="itemsPerPage"
	[maxSize]="maxSize"
	[disable]="loading"
	[reset]="resetPagination"
	[firstPageText]="firstPageText"
	[prevPageText]="prevPageText"
	[nextPageText]="nextPageText"
	[lastPageText]="lastPageText"
	(onPageChanged)="onPageChanged($event)">
 </pagination>

Default style set would be bootstrap ^4.0 but you can customize it by providing following inputs & these inputs are nothing but placeholder for css class name.

	[pageListStyle]="pageListStyle"
	[pageStyle]="pageStyle"
	[pageLinkStyle]="pageLinkStyle"

Package Sidebar

Install

npm i @nikxsh/ngpagination

Weekly Downloads

4

Version

1.0.2

License

none

Unpacked Size

87.4 kB

Total Files

16

Last publish

Collaborators

  • nikxsh