carousel
A generic plugin and component for cycling through elements like a carousel. Controls and indicators are automatically added unless disabled with the controls and indicators attributes.
- Example
- <b:carousel>... </b:carousel>
- Output
- <div class="carousel">...</div>
Tag Information | |
---|---|
Tag Class | org.bootstrapjsp.tags.core.carousel.Carousel |
Body Content | scriptless |
Dynamic Attributes | true |
Attributes
Name | Description | Flags |
---|---|---|
controls | Sets whether the carousel should have controls. Default: true (if more than one slide is shown). |
rtexprvalue
|
indicators | Sets whether the carousel should have indicators. Default: true (if more than one slide is shown). |
rtexprvalue
|
pause | Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave. Default: "hover". |
rtexprvalue
|
ride | Sets whether the carousel should start animating on page load. |
rtexprvalue
|
wrap | Whether the carousel should cycle continuously or have hard stops. Default: true. |
rtexprvalue
|