Skip to content

⚡ allow currentPageIndex be used by the contents #110

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Sep 3, 2022

Conversation

smgestupa
Copy link
Contributor

Letting the default slots read currentPageIndex would be useful and allow more flexibility.

I had been trying to copy Steam's carousel, though I was able to do it, I had to declare few more variables since currentPageIndex can't be read by the default slots.
image
Carousel

Having the default slots read currentPageIndex will remove redundancy.
image

@vadimkorr vadimkorr merged commit 71c34fd into vadimkorr:main Sep 3, 2022
@vadimkorr
Copy link
Owner

Released in 1.0.20

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants