diff --git a/docs/_includes/js/collapse.html b/docs/_includes/js/collapse.html index 084bb4badc..6d856862a9 100644 --- a/docs/_includes/js/collapse.html +++ b/docs/_includes/js/collapse.html @@ -229,13 +229,13 @@ $('#myCollapsible').collapse({ {% endhighlight %}

.collapse('toggle')

-

Toggles a collapsible element to shown or hidden.

+

Toggles a collapsible element to shown or hidden. Returns to the caller before the collapsible element has actually been shown or hidden (i.e. before the shown.bs.collapse or hidden.bs.collapse event occurs).

.collapse('show')

-

Shows a collapsible element.

+

Shows a collapsible element. Returns to the caller before the collapsible element has actually been shown (i.e. before the shown.bs.collapse event occurs).

.collapse('hide')

-

Hides a collapsible element.

+

Hides a collapsible element. Returns to the caller before the collapsible element has actually been hidden (i.e. before the hidden.bs.collapse event occurs).

Events

Bootstrap's collapse class exposes a few events for hooking into collapse functionality.

diff --git a/docs/_includes/js/tabs.html b/docs/_includes/js/tabs.html index 5ce8a766eb..033b424303 100644 --- a/docs/_includes/js/tabs.html +++ b/docs/_includes/js/tabs.html @@ -98,7 +98,7 @@ $('#myTabs li:eq(2) a').tab('show') // Select third tab (0-indexed)

.tab('show')

-

Selects the given tab and shows its associated content. Any other tab that was previously selected becomes unselected and its associated content is hidden.

+

Selects the given tab and shows its associated content. Any other tab that was previously selected becomes unselected and its associated content is hidden. Returns to the caller before the tab pane has actually been shown (i.e. before the shown.bs.tab event occurs).

{% highlight js %}$('#someTab').tab('show'){% endhighlight %}

Events