diff options
| author | Chris Rebert <[email protected]> | 2014-11-11 19:38:06 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-11-11 19:38:06 -0800 |
| commit | d79e898d676dfc80f89c24cd52ad71967c796bf1 (patch) | |
| tree | 1fa250f4b83fda8ffc284a2b70bbaa01b172c062 /docs/_includes | |
| parent | 5ba52001952b6a0744fc17252c0a07b97a836583 (diff) | |
| download | bootstrap-d79e898d676dfc80f89c24cd52ad71967c796bf1.tar.xz bootstrap-d79e898d676dfc80f89c24cd52ad71967c796bf1.zip | |
consolidate relatedTarget docs in dropdown event docs
Diffstat (limited to 'docs/_includes')
| -rw-r--r-- | docs/_includes/js/dropdowns.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/_includes/js/dropdowns.html b/docs/_includes/js/dropdowns.html index 826fe6c08..853030b5f 100644 --- a/docs/_includes/js/dropdowns.html +++ b/docs/_includes/js/dropdowns.html @@ -164,6 +164,7 @@ $('.dropdown-toggle').dropdown() <h3>Events</h3> <p>All dropdown events are fired at the <code>.dropdown-menu</code>'s parent element.</p> + <p>All dropdown events have a <code>relatedTarget</code> property, whose value is the toggling anchor element.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> <thead> @@ -175,19 +176,19 @@ $('.dropdown-toggle').dropdown() <tbody> <tr> <td>show.bs.dropdown</td> - <td>This event fires immediately when the show instance method is called. The toggling anchor element is available as the <code>relatedTarget</code> property of the event.</td> + <td>This event fires immediately when the show instance method is called.</td> </tr> <tr> <td>shown.bs.dropdown</td> - <td>This event is fired when the dropdown has been made visible to the user (will wait for CSS transitions, to complete). The toggling anchor element is available as the <code>relatedTarget</code> property of the event.</td> + <td>This event is fired when the dropdown has been made visible to the user (will wait for CSS transitions, to complete).</td> </tr> <tr> <td>hide.bs.dropdown</td> - <td>This event is fired immediately when the hide instance method has been called. The toggling anchor element is available as the <code>relatedTarget</code> property of the event.</td> + <td>This event is fired immediately when the hide instance method has been called.</td> </tr> <tr> <td>hidden.bs.dropdown</td> - <td>This event is fired when the dropdown has finished being hidden from the user (will wait for CSS transitions, to complete). The toggling anchor element is available as the <code>relatedTarget</code> property of the event.</td> + <td>This event is fired when the dropdown has finished being hidden from the user (will wait for CSS transitions, to complete).</td> </tr> </tbody> </table> |
