diff --git a/docs/javascript.html b/docs/javascript.html index e9b4879ddc..b0e1287ba3 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1924,7 +1924,7 @@ $('#myCollapsible').on('hidden.bs.collapse', function () {
Carousels require the use of an id
on the outermost container, .carousel
, for carousel controls to properly function. When adding multiple carousels, or when changing a carousel's id
, be sure to update the relevant controls.
Carousels require the use of an id
on the outermost container, .carousel
, for carousel controls to function properly. When adding multiple carousels, or when changing a carousel's id
, be sure to update the relevant controls.
Use data attributes to easily control the position of the carousel. data-slide
accepts the keywords prev
or next
, which alters the slide position relative to its current position. Alternatively, use data-slide-to
to pass a raw slide index to the carousel data-slide-to="2"
, which shifts the slide position to a particular index beginning with 0
.