p">(</span><span class="s1">'show'</span><span class="p">)</span></code></pre></figure>

<h4 id="tabdispose">.tab(‘dispose’)</h4>

<p>Destroys an element’s tab.</p>

<h3 id="events">Events</h3>

<p>When showing a new tab, the events fire in the following order:</p>

<ol>
  <li><code class="highlighter-rouge">hide.bs.tab</code> (on the current active tab)</li>
  <li><code class="highlighter-rouge">show.bs.tab</code> (on the to-be-shown tab)</li>
  <li><code class="highlighter-rouge">hidden.bs.tab</code