<CarouselItem />

Carousel item component. Used as a child of the <ons-carousel> element.

Tutorial

A carousel is used to show several items in the same place. The user can switch between the items by panning. The carousel can also be controlled programatically.

The current carousel index can be controlled using the index prop and you can listen to changes with the onPostChange prop which will be called efter the index has changed.

Props

Name Type Default Value Description
modifier string Specify modifier name to specify custom styles. Optional. Optional.

Discussion

Need Help?

If you have any questions, use our Community Forum or talk to us via Gitter chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.