diff --git a/javascript.html b/javascript.html index 6a0807952e..4d3d08800b 100644 --- a/javascript.html +++ b/javascript.html @@ -1756,6 +1756,7 @@ $('#myCollapsible').on('hidden.bs.collapse', function () {
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
.
The data-ride="carousel"
attribute is used to mark a carousel as animating starting at page load.
Call carousel manually with: