flaviusmatis / flaviusmatis/simplePagination.js
Possible to alter pagination display behavior to custom format
- Dominant language
- JavaScript
- Stars
- 777
- Forks
- 397
- PR merge metrics
- No merged PRs in 30d
Description
The default behavior is to show pages 1-5, when you page to #4, it will display pages 2-6 [4 selected], pages 3-7 [5 selected]. Basically 2 pages before and 2 pages after the selected number.
Is it possible to display instead like: 1-5, [hit next] pages 6-10, [hit next] pages 11-15, each page boundary firing an AJAX request. Paging backwards will show same page boundaries. Can this format be initialized with current settings/parameters available? Or do I have to change the code within?
Thanks
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the plugin's existing pagination display and AJAX-related settings to determine where page-window boundaries are calculated. Done means establishing whether grouped ranges such as 1-5, 6-10, and 11-15 can be configured with the current parameters or require a defined feature change; no file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100