diff --git a/docs/javascript.html b/docs/javascript.html index 864e6784b..f9877dc02 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -362,7 +362,7 @@ $('#myModal').on('hidden', function () {
-$('.myCarousel').carousel({
- interval: 2000
-})
-Cycles through the carousel items from left to right.
-Stops the carousel from cycling through items.
-Cycles to the previous item.
-Cycles to the next item.
+Initializes the carousel with an optional options object and starts cycling through items.
+ $('.myCarousel').carousel({
+ interval: 2000
+ })
+ Cycles through the carousel items from left to right.
+Stops the carousel from cycling through items.
+Cycles to the previous item.
+Cycles to the next item.
+Bootstrap's modal class exposes a few events for hooking into modal functionality.
+| Event | +Description | +
|---|---|
| slide | +This event fires immediately when the slide instance method is invoked. |
+
| slid | +This event is fired when the carousel has completed it's slide transition. | +