mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Document that Tab show method is async
[skip sauce]
This commit is contained in:
parent
e723395cc3
commit
ef02c55945
@ -98,7 +98,7 @@ $('#myTabs li:eq(2) a').tab('show') // Select third tab (0-indexed)
|
||||
</p>
|
||||
|
||||
<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 %}
|
||||
|
||||
<h3 id="tabs-events">Events</h3>
|
||||
|
Loading…
Reference in New Issue
Block a user