diff options
| author | Chris Rebert <[email protected]> | 2014-11-19 17:33:17 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-11-19 17:33:17 -0800 |
| commit | 8bb59abf409d1473f16f87e560013300228cad78 (patch) | |
| tree | f94067d4ef052538d70c3da949fa09e82fb952cd /docs/_includes/js/dropdowns.html | |
| parent | 324fd0d75482767f8a677711f439fc3a75709ee1 (diff) | |
| parent | d79e898d676dfc80f89c24cd52ad71967c796bf1 (diff) | |
| download | bootstrap-8bb59abf409d1473f16f87e560013300228cad78.tar.xz bootstrap-8bb59abf409d1473f16f87e560013300228cad78.zip | |
Merge pull request #15090 from twbs/dropdowns-events
consolidate relatedTarget docs in dropdown event docs
Diffstat (limited to 'docs/_includes/js/dropdowns.html')
| -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 943dfe40d..1cc785b2d 100644 --- a/docs/_includes/js/dropdowns.html +++ b/docs/_includes/js/dropdowns.html @@ -164,6 +164,7 @@ $('.dropdown-toggle').dropdown() <h3 id="dropdowns-events">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> |
