aboutsummaryrefslogtreecommitdiff
path: root/docs/components/popovers.md
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-09-28 12:30:03 -0700
committerChris Rebert <[email protected]>2015-09-28 12:30:03 -0700
commit215d4c19f74b71c4e960d9797e902803ad0ffe09 (patch)
tree3e3839772bfc3dc85d87ffdd36caf249a6bec1d3 /docs/components/popovers.md
parentfabba295c32fc9aef11964ffe81fd920d4d5ee9c (diff)
parenta9f24fc59f09cf77125833be10769e7c04f813a2 (diff)
downloadbootstrap-215d4c19f74b71c4e960d9797e902803ad0ffe09.tar.xz
bootstrap-215d4c19f74b71c4e960d9797e902803ad0ffe09.zip
Merge pull request #17725 from twbs/curly-quotes
Use backticks/<code> for JS snippets in docs headings
Diffstat (limited to 'docs/components/popovers.md')
-rw-r--r--docs/components/popovers.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/components/popovers.md b/docs/components/popovers.md
index 4b32aa8a3..a0860df51 100644
--- a/docs/components/popovers.md
+++ b/docs/components/popovers.md
@@ -282,29 +282,29 @@ Options for individual popovers can alternatively be specified through the use o
### Methods
-#### $().popover(options)
+#### `$().popover(options)`
Initializes popovers for an element collection.
-#### .popover('show')
+#### `.popover('show')`
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')
+#### `.popover('hide')`
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')
+#### `.popover('toggle')`
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 %}
-#### .popover('dispose')
+#### `.popover('dispose')`
Hides and destroys an element's popover. Popvoers that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements.