Carousel allows a user to cycle through content panels. Slides of varying component type can be created.
Carousel with three image components as child items.
- autopauseDisabled: false
- delay: 5000
- sling:resourceType: core-components-examples/components/carousel
- autoplay: false
- Title
Carousel with three teaser components as child items.
- autopauseDisabled: false
- delay: 5000
- sling:resourceType: core-components-examples/components/carousel
- autoplay: false
- Teaser Title
- Teaser Title
- Teaser Title
Automatic transitioning of slides can be enabled. The delay before transitioning to the next slide is also configurable. Pause and play buttons are displayed which allow stopping / continuing slide rotation.
Libero id faucibus nisl tincidunt eget nullam non nisi. Hac habitasse platea dictumst vestibulum. Viverra orci sagittis eu volutpat odio facilisis mauris. Velit aliquet sagittis id consectetur purus ut. Orci phasellus egestas tellus rutrum tellus pellentesque eu tincidunt.
- autopauseDisabled: false
- delay: 5000
- sling:resourceType: core-components-examples/components/carousel
- autoplay: true
Libero id faucibus nisl tincidunt eget nullam non nisi. Hac habitasse platea dictumst vestibulum. Viverra orci sagittis eu volutpat odio facilisis mauris. Velit aliquet sagittis id consectetur purus ut. Orci phasellus egestas tellus rutrum tellus pellentesque eu tincidunt.
- Item 3.3
The default behavior is to pause when hovering the carousel, and automatic transitioning is enabled. This can be disabled, which may be useful for certain use cases, such as a full screen carousel.
- autopauseDisabled: true
- delay: 5000
- sling:resourceType: core-components-examples/components/carousel
- autoplay: true
Carousel with three images with the default active item being the second image.
- sling:resourceType: core-components-examples/components/carousel
- activeItem: image_1321018784
Linking to a carousel item displays the item and scrolls to it.