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:
parent
1e07c066a5
commit
e726b231ba
3 changed files with 13 additions and 1 deletions
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
6
docs/templates/pages/javascript.mustache
vendored
6
docs/templates/pages/javascript.mustache
vendored
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue