aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-04-25 19:35:38 -0700
committerChris Rebert <[email protected]>2014-04-25 19:35:38 -0700
commit05d4932cadbcf5a7148f26483142cf347354a2d4 (patch)
tree26202f9c1bad28f25065d7282825aa40e3ae1ef5 /docs/_includes
parentd42b1a2d2d0911de918bcd7ec37c7bd3568a18f3 (diff)
parente114727ae94934f0f916eb2b5969b93ae4e408dc (diff)
downloadbootstrap-05d4932cadbcf5a7148f26483142cf347354a2d4.tar.xz
bootstrap-05d4932cadbcf5a7148f26483142cf347354a2d4.zip
Merge pull request #13396 from twbs/carousel-events
Carousel event properties
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/js/carousel.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html
index b0665dba8..2b5b0111b 100644
--- a/docs/_includes/js/carousel.html
+++ b/docs/_includes/js/carousel.html
@@ -203,6 +203,11 @@ $('.carousel').carousel({
<h3>Events</h3>
<p>Bootstrap's carousel class exposes two events for hooking into carousel functionality.</p>
+ <p>Both events have the following additional properties:</p>
+ <ul>
+ <li><code>direction</code>: The direction in which the carousel is sliding (either <code>"left"</code> or <code>"right"</code>).</li>
+ <li><code>relatedTarget</code>: The DOM element that is being slid into place as the active item.</li>
+ </ul>
<div class="table-responsive">
<table class="table table-bordered table-striped">
<thead>