From e723395cc3371d3d499dc2448baadcd7aa13b34a Mon Sep 17 00:00:00 2001
From: Chris Rebert 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 Shows a collapsible element. Shows a collapsible element. Returns to the caller before the collapsible element has actually been shown (i.e. before the Hides a collapsible element. Hides a collapsible element. Returns to the caller before the collapsible element has actually been hidden (i.e. before the Bootstrap's collapse class exposes a few events for hooking into collapse functionality.
Date: Wed, 1 Jul 2015 16:39:12 -0700
Subject: [PATCH 1/2] Document that Collapse show,hide,toggle methods are
async; fixes #16746
[skip sauce]
---
docs/_includes/js/collapse.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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')
shown.bs.collapse
or hidden.bs.collapse
event occurs).
- .collapse('show')
shown.bs.collapse
event occurs).
- .collapse('hide')
hidden.bs.collapse
event occurs).Events
Date: Wed, 1 Jul 2015 16:42:13 -0700
Subject: [PATCH 2/2] Document that Tab show method is async
[skip sauce]
---
docs/_includes/js/tabs.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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).