]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Clarify target of carousel events 15740/head
authorChris Rebert <github@rebertia.com>
Tue, 3 Feb 2015 18:53:33 +0000 (10:53 -0800)
committerChris Rebert <github@rebertia.com>
Tue, 3 Feb 2015 18:53:33 +0000 (10:53 -0800)
[skip sauce]

docs/_includes/js/carousel.html

index e50708ae11e7b21c223363373c02b28dc40c81b0..6234032fb8b73cc04d2b4d1bbf7e5906fa160e33 100644 (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>