Merge pull request #15740 from twbs/carousel-events-target

Clarify target of carousel events
This commit is contained in:
Chris Rebert 2015-02-03 10:58:33 -08:00
commit 012af29efc

View File

@ -226,6 +226,7 @@ $('.carousel').carousel({
<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>
<p>All carousel events are fired at the carousel itself (i.e. at the <code>&lt;div class="carousel"&gt;</code>).</p>
<div class="table-responsive">
<table class="table table-bordered table-striped bs-events-table">
<thead>