2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

add toggle to docs for popover/tooltip

This commit is contained in:
Jacob Thornton
2012-01-27 21:59:06 -08:00
parent 1e07c066a5
commit e726b231ba
3 changed files with 13 additions and 1 deletions
+6
View File
@@ -760,6 +760,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<h4>.tooltip('hide')</h4>
<p>Hides an elements tooltip.</p>
<pre class="prettyprint linenums">$('#element').tooltip('hide')</pre>
<h4>.tooltip('toggle')</h4>
<p>Toggles an elements tooltip.</p>
<pre class="prettyprint linenums">$('#element').tooltip('toggle')</pre>
</div>
</div>
</section>
@@ -868,6 +871,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<h4>.popover('hide')</h4>
<p>Hides an elements popover.</p>
<pre class="prettyprint linenums">$('#element').popover('hide')</pre>
<h4>.popover('toggle')</h4>
<p>Toggles an elements popover.</p>
<pre class="prettyprint linenums">$('#element').popover('toggle')</pre>
</div>
</div>
</section>