flaviusmatis / flaviusmatis/simplePagination.js
URL hash change for First page as well?
- Dominant language
- JavaScript
- Stars
- 777
- Forks
- 397
- PR merge metrics
- No merged PRs in 30d
Description
HI,
Is there a way where plugin could show the updated URL with hrefText - hrefTextPrefix and hrefTextSuffix- when a user is on Page 1.
It currently show the 'hrefText' only when user go to any other page and then come back. It never show current page selected on Page load or initial load of Pagination plugin.
Example: "www.abc.com/xyz.html#1" at the time of first load where it calls onPageClick to set it on page 1
Any help is greatly appreciated.
Thanks,
AG
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the pagination plugin's initial page-load path and the onPageClick callback, then compare it with the path used after navigating away from page 1 and back. Done means the initial load shows the selected page in the URL using hrefText, hrefTextPrefix, and hrefTextSuffix, including the requested #1 example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100