diff options
| author | Johann <[email protected]> | 2017-03-22 22:42:13 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-03-22 22:42:13 +0100 |
| commit | c72a315740c852152c1bc6a34bf2b4c2372fe389 (patch) | |
| tree | be8b706a518eb97ec311b3ad79ffa0e227f337c4 /docs/components | |
| parent | 78fc4d23fcefe31397444b75f43728c38e13c590 (diff) | |
| download | bootstrap-c72a315740c852152c1bc6a34bf2b4c2372fe389.tar.xz bootstrap-c72a315740c852152c1bc6a34bf2b4c2372fe389.zip | |
Carousel - Add attributes from and to for Slid and Slide events (#21668)
Carousel - Add attributes from and to for Slid and Slide events
Diffstat (limited to 'docs/components')
| -rw-r--r-- | docs/components/carousel.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/components/carousel.md b/docs/components/carousel.md index ea22f3ef9..24a42a617 100644 --- a/docs/components/carousel.md +++ b/docs/components/carousel.md @@ -265,6 +265,8 @@ Bootstrap's carousel class exposes two events for hooking into carousel function - `direction`: The direction in which the carousel is sliding (either `"left"` or `"right"`). - `relatedTarget`: The DOM element that is being slid into place as the active item. +- `from`: The index of the current item +- `to`: The index of the next item All carousel events are fired at the carousel itself (i.e. at the `<div class="carousel">`). |
