mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02:00
Document that Tab show method is async
[skip sauce]
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user