We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When i tried to auto play the images by below code
const carousel = args.object.getViewById("myCarousel"); setInterval(() => { if (carousel.selectedIndex == carousel.items.length - 1) carousel.selectedIndex = 0; else ++carousel.selectedIndex; }, 3000); }
only the images will auto play. but not indicators at the bottom.
but when i manually scroll it, the indicators will change and no problem.
this is my xml
<pager:Pager items="{{ image_array }}" row="0" id="myCarousel" loaded="carouselLoaded" unloaded="carouselUnloaded" spacing="0%" peaking="0%" showIndicator="true" backgroundColor="lightsteelblue"> <pager:Pager.itemTemplate> <GridLayout> <Image src="{{ image }}" stretch="aspectFill" /> </GridLayout> </pager:Pager.itemTemplate> </pager:Pager>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When i tried to auto play the images by below code
only the images will auto play. but not indicators at the bottom.
but when i manually scroll it, the indicators will change and no problem.
this is my xml
The text was updated successfully, but these errors were encountered: