diff options
Diffstat (limited to 'docs/javascript/popovers.md')
| -rw-r--r-- | docs/javascript/popovers.md | 8 |
1 files changed, 4 insertions, 4 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 %} |
