Commit ef02c559 authored by Chris Rebert's avatar Chris Rebert
Browse files

Document that Tab show method is async

[skip sauce]
parent e723395c
Showing with 1 addition and 1 deletion
+1 -1
...@@ -98,7 +98,7 @@ $('#myTabs li:eq(2) a').tab('show') // Select third tab (0-indexed) ...@@ -98,7 +98,7 @@ $('#myTabs li:eq(2) a').tab('show') // Select third tab (0-indexed)
</p> </p>
<h4><code>.tab('show')</code></h4> <h4><code>.tab('show')</code></h4>
<p>Selects the given tab and shows its associated content. Any other tab that was previously selected becomes unselected and its associated content is hidden.</p> <p>Selects the given tab and shows its associated content. Any other tab that was previously selected becomes unselected and its associated content is hidden. <strong>Returns to the caller before the tab pane has actually been shown</strong> (i.e. before the <code>shown.bs.tab</code> event occurs).</p>
{% highlight js %}$('#someTab').tab('show'){% endhighlight %} {% highlight js %}$('#someTab').tab('show'){% endhighlight %}
<h3 id="tabs-events">Events</h3> <h3 id="tabs-events">Events</h3>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment