-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Feature request - allow slide=<index>
to be set at page load time
#12591
Comments
/cc @choumx. I believe this is possible with |
bind can change the slide via @ericlindley-g and I were coincidentally talking about this yesterday. We should be able to support I will take the issue. |
This issue hasn't been updated in awhile. @aghassemi Do you have any updates? |
slide=<index>
to be set at page load time
I will take this for FIXIT. |
Hi @aghassemi , willing to know is this FR been scheduled to implement? Having a partner blocked by setting default slide index differently when page is on-load. |
Hi Everyone, I'm interested in this as well (to allow |
This issue hasn't been updated in awhile. @aghassemi Do you have any updates? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
I've built an amp-carousel with a number of slides, each of which is relevant for a different time of day.
On pageload, I display an amp-list using some external JSON data. I would like to pass back in that JSON an indication of which slide should currently be displayed, and then call carousel.goToSlide to jump to that slide
This is currently not possible as carousel.goToSlide can only be triggered by a user interaction. This could apparently theoretically be supported by a selected attribute on a specific amp-carousel slide
The text was updated successfully, but these errors were encountered: