diff options
Diffstat (limited to 'docs/javascript')
| -rw-r--r-- | docs/javascript/popovers.md | 8 | ||||
| -rw-r--r-- | docs/javascript/tooltips.md | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/javascript/popovers.md b/docs/javascript/popovers.md index 28cafb1b0..fc5206e8a 100644 --- a/docs/javascript/popovers.md +++ b/docs/javascript/popovers.md @@ -133,7 +133,7 @@ Use the `focus` trigger to dismiss popovers on the next click that the user make </div> {% example html %} -<a href="#" tabindex="0" class="btn btn-lg btn-danger bs-docs-popover" role="button" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a> +<a tabindex="0" class="btn btn-lg btn-danger bs-docs-popover" role="button" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a> {% endexample %} {% highlight js %} @@ -271,19 +271,19 @@ Initializes popovers for an element collection. #### .popover('show') -Reveals an element's popover. Popovers whose both title and content are zero-length are never displayed. +Reveals an element's popover. **Returns to the caller before the popover has actually been shown** (i.e. before the `shown.bs.popover` event occurs). This is considered a "manual" triggering of the popover. Popovers whose both title and content are zero-length are never displayed. {% highlight js %}$('#element').popover('show'){% endhighlight %} #### .popover('hide') -Hides an element's popover. +Hides an element's popover. **Returns to the caller before the popover has actually been hidden** (i.e. before the `hidden.bs.popover` event occurs). This is considered a "manual" triggering of the popover. {% highlight js %}$('#element').popover('hide'){% endhighlight %} #### .popover('toggle') -Toggles an element's popover. +Toggles an element's popover. **Returns to the caller before the popover has actually been shown or hidden** (i.e. before the `shown.bs.popover` or `hidden.bs.popover` event occurs). This is considered a "manual" triggering of the popover. {% highlight js %}$('#element').popover('toggle'){% endhighlight %} diff --git a/docs/javascript/tooltips.md b/docs/javascript/tooltips.md index 008db7c86..2e8e11470 100644 --- a/docs/javascript/tooltips.md +++ b/docs/javascript/tooltips.md @@ -241,19 +241,19 @@ Attaches a tooltip handler to an element collection. #### .tooltip('show') -Reveals an element's tooltip. Tooltips with zero-length titles are never displayed. +Reveals an element's tooltip. **Returns to the caller before the tooltip has actually been shown** (i.e. before the `shown.bs.tooltip` event occurs). This is considered a "manual" triggering of the tooltip. Tooltips with zero-length titles are never displayed. {% highlight js %}$('#element').tooltip('show'){% endhighlight %} #### .tooltip('hide') -Hides an element's tooltip. +Hides an element's tooltip. **Returns to the caller before the tooltip has actually been hidden** (i.e. before the `hidden.bs.tooltip` event occurs). This is considered a "manual" triggering of the tooltip. {% highlight js %}$('#element').tooltip('hide'){% endhighlight %} #### .tooltip('toggle') -Toggles an element's tooltip. +Toggles an element's tooltip. **Returns to the caller before the tooltip has actually been shown or hidden** (i.e. before the `shown.bs.tooltip` or `hidden.bs.tooltip` event occurs). This is considered a "manual" triggering of the tooltip. {% highlight js %}$('#element').tooltip('toggle'){% endhighlight %} |
