1.0.2 • Published 2 years ago

@nikxsh/ngpagination v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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"
1.0.2

2 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago