An open API service indexing awesome lists of open source software.

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)

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