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

feat: add paginated navigation for carousel pagination #446

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

Tofandel
Copy link
Contributor

@Tofandel Tofandel commented Dec 9, 2024

Fixes #301

Adds a prop paginated to the carousel pagination, that will change the pagination to be based on the number of pages (via itemsToShow) rather than the number of slides

image

So if you have 10 slides and 4 items to show, you have 3 pages and 3 clickable buttons instead of 10

The paginated prop has no effect if itemsToShow is 1

@Tofandel Tofandel force-pushed the feat/paginated-pagination branch 3 times, most recently from cb0e462 to df3c1a5 Compare December 11, 2024 17:12
@Tofandel Tofandel force-pushed the feat/paginated-pagination branch from df3c1a5 to 3315633 Compare December 16, 2024 13:25
@ismail9k ismail9k merged commit 334e0b4 into ismail9k:master Dec 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SlidesCount doesn't update according to itemsToShow and itemsToScroll
2 participants