diff options
| author | Phil Hughes <[email protected]> | 2014-10-10 15:50:00 +0100 |
|---|---|---|
| committer | Heinrich Fenkart <[email protected]> | 2014-10-22 21:42:35 +0200 |
| commit | ab8dbc214e7ea43fec65c4464b8db7392f3df905 (patch) | |
| tree | 7e43f619992cc91b5ca27c1b8e4a3e7cdafd0213 /docs/_includes/js | |
| parent | 40c309b39aae2620ac501447f59eed23612e72fd (diff) | |
| download | bootstrap-ab8dbc214e7ea43fec65c4464b8db7392f3df905.tar.xz bootstrap-ab8dbc214e7ea43fec65c4464b8db7392f3df905.zip | |
Implement `hide` and `hidden` events for tabs
Closes #14772.
Diffstat (limited to 'docs/_includes/js')
| -rw-r--r-- | docs/_includes/js/tabs.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/_includes/js/tabs.html b/docs/_includes/js/tabs.html index 39c244e8e..570e21e20 100644 --- a/docs/_includes/js/tabs.html +++ b/docs/_includes/js/tabs.html @@ -132,6 +132,14 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) <td>shown.bs.tab</td> <td>This event fires on tab show after a tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.</td> </tr> + <tr> + <td>hide.bs.tab</td> + <td>This event fires immediately when a new tab is to be shown and before the <code>show.bs.tab</code> event. Use <code>event.relatedTarget</code> to target the new tab.</td> + </tr> + <tr> + <td>hidden.bs.tab</td> + <td>This event fires after a new tab is shown and before the <code>shown.bs.tab</code> event. Use <code>event.relatedTarget</code> to target the new tab.</td> + </tr> </tbody> </table> </div><!-- /.table-responsive --> |
