https://github.com/arman-g/pagination-algorithm
Pagination algorithm implementation (TypeScript)
https://github.com/arman-g/pagination-algorithm
angular pagination typescript
Last synced: 2 months ago
JSON representation
Pagination algorithm implementation (TypeScript)
- Host: GitHub
- URL: https://github.com/arman-g/pagination-algorithm
- Owner: arman-g
- Created: 2019-04-21T00:49:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-24T04:23:56.000Z (about 7 years ago)
- Last Synced: 2025-01-26T09:21:31.266Z (over 1 year ago)
- Topics: angular, pagination, typescript
- Language: TypeScript
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pagination-Algorithm
This is a simple pagination algorithm implementation written for Angular app in typescript. It will produce pagination with first, last and in-between numbers with ellipses separator defined by the delta constant.
**Example Output:**
Delta: 2, Pages: 9
-
123…9 - 1234…9
- 12345…9
- 123456…9
- 1…34567…9
- 1…456789
- 1…56789
- 1…6789
- 1…789