1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05: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

View file

@ -1978,7 +1978,7 @@ table .span12 {
.navbar-search .search-query :-moz-placeholder {
color: #eeeeee;
}
.navbar-search .search-query ::-webkit-input-placeholder {
.navbar-search .search-query::-webkit-input-placeholder {
color: #eeeeee;
}
.navbar-search .search-query:hover {

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>

View file

@ -695,6 +695,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<h4>.tooltip('hide')</h4>
<p>{{_i}}Hides an elements tooltip.{{/i}}</p>
<pre class="prettyprint linenums">$('#element').tooltip('hide')</pre>
<h4>.tooltip('toggle')</h4>
<p>{{_i}}Toggles an elements tooltip.{{/i}}</p>
<pre class="prettyprint linenums">$('#element').tooltip('toggle')</pre>
</div>
</div>
</section>
@ -803,6 +806,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<h4>.popover('hide')</h4>
<p>{{_i}}Hides an elements popover.{{/i}}</p>
<pre class="prettyprint linenums">$('#element').popover('hide')</pre>
<h4>.popover('toggle')</h4>
<p>{{_i}}Toggles an elements popover.{{/i}}</p>
<pre class="prettyprint linenums">$('#element').popover('toggle')</pre>
</div>
</div>
</section>