diff options
| author | Chris Rebert <[email protected]> | 2014-04-21 13:28:21 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-04-24 19:02:47 -0700 |
| commit | 6617d8bcd1db42bf03a4b1d9288e16dae8acfd5a (patch) | |
| tree | 14ad93c31b8076561e97577f7da973e6624e10fc /docs/_includes/js/carousel.html | |
| parent | 4d0a8e31a46e54bb180eadb2844d1e4a9c7c4e91 (diff) | |
| download | bootstrap-6617d8bcd1db42bf03a4b1d9288e16dae8acfd5a.tar.xz bootstrap-6617d8bcd1db42bf03a4b1d9288e16dae8acfd5a.zip | |
Document .direction & .relatedTarget properties of Carousel events.
Fixes #13395
Diffstat (limited to 'docs/_includes/js/carousel.html')
| -rw-r--r-- | docs/_includes/js/carousel.html | 5 |
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> |
