mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-29 02:30:23 +00:00
Document .direction & .relatedTarget properties of Carousel events.
Fixes #13395
This commit is contained in:
parent
4d0a8e31a4
commit
6617d8bcd1
1 changed files with 5 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue