Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pagination.examples.centering-active-page-link.md #5463

Merged
merged 2 commits into from
Nov 6, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
8.10: Pagination Centering the active page link examples
============================================

**Primary Actor**: User
**Primary Actor**: User

**Scope**: Ngx-bootstrap DEMO / BS version 3&4

**Goal**: Show user centering the active page link functionality

Main success scenario:
----------------------

1. User opens "Pagination" demo page
2. User clicks on "Centering the active page link" sub-menu
3. By default maximum page numbers equal to 5 and active page 1.
4. By default centering the active page link is enabled
5. When user clicks on 5th page, then active page - 5 and it centered, maximum count of pages - 5
5. When the user clicks on 5th page, then active page - 5 and it centered, maximum count of pages - 5
6. After click on "Next" button, then active page - 6 and it centered, maximum count of pages - 5
7. After click on "Previous" button, then active page - 5 and it centered , maximum count of pages should 5
8. When user clicks on "Toggle centering current page link", then "last" and "first" buttons are appeared, and should be marked like "..."
9. When user clicks on 5th page, then active page - 5 and it located by right side, maximum count of pages - 5
7. After click on "Previous" button, then active page - 5 and it centered, maximum count of pages should 5
8. When the user clicks on "Toggle centering current page link", then "last" and "first" buttons are appeared, and should be marked like "..."
9. When the user clicks on 5th page, then active page - 5 and it located by right side, maximum count of pages - 5
10. After click on "Next" button, then active page - 6 and it located by left side, maximum count page - 5
11. After click on "Previous" button, then active page - 5 and it located by left side, maximum count of pages - 5
12. After click on "Last" button, next 5 pages are appeared, maximum count of pages - 5
13. After click on "Previous" button, Previous 5 pages are appeared, maximum count of pages - 5

Variations:
----------

2*. User scrolls to "Centering the active page"