Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-06-20 23:02:05 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-06-20 23:02:05 +0400
commit1e717991e897e44961d7a70fd3503d79b7ab4d7c (patch)
tree01fc413071e524051e704de44cee8f938dc5200f /docs
parenteb62c977cd78d85b82900267268e13f2314a176b (diff)
parent3a5b4cc7df5f63b39218fbae75d6604e08f89e2a (diff)
Merge pull request #3880 from lookfirst/popover-destroy
Add popover / tooltip destroy method
Diffstat (limited to 'docs')
-rw-r--r--docs/templates/pages/javascript.mustache8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index 0a3a7aa808..3e558c4f75 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -755,6 +755,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<h4>.tooltip('toggle')</h4>
<p>{{_i}}Toggles an element's tooltip.{{/i}}</p>
<pre class="prettyprint linenums">$('#element').tooltip('toggle')</pre>
+ <h4>.tooltip('destroy')</h4>
+ <p>{{_i}}Destroys an element's tooltip.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#element').tooltip('destroy')</pre>
</section>
@@ -821,7 +824,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<td>{{_i}}trigger{{/i}}</td>
<td>{{_i}}string{{/i}}</td>
<td>'hover'</td>
- <td>{{_i}}how tooltip is triggered{{/i}} - hover | focus | manual</td>
+ <td>{{_i}}how popover is triggered{{/i}} - hover | focus | manual</td>
</tr>
<tr>
<td>{{_i}}title{{/i}}</td>
@@ -867,6 +870,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<h4>.popover('toggle')</h4>
<p>{{_i}}Toggles an elements popover.{{/i}}</p>
<pre class="prettyprint linenums">$('#element').popover('toggle')</pre>
+ <h4>.popover('destroy')</h4>
+ <p>{{_i}}Destroys an element's popover.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#element').popover('destroy')</pre>
</section>