aboutsummaryrefslogtreecommitdiff
path: root/docs/components/popovers.md
diff options
context:
space:
mode:
authorSid <[email protected]>2017-03-24 06:32:39 -0400
committerJohann <[email protected]>2017-03-24 11:32:39 +0100
commitd2b919143c3fdb736ba7efae6bfb34937993db71 (patch)
tree73d4e457f61e68f0e6d68b775308a63303735477 /docs/components/popovers.md
parent7f21a80a6a91b9633818d50681a894b2436ffe27 (diff)
downloadbootstrap-d2b919143c3fdb736ba7efae6bfb34937993db71.tar.xz
bootstrap-d2b919143c3fdb736ba7efae6bfb34937993db71.zip
Add missing v4 docs for tooltip/popover methods (#22246)
Add missing v4 docs for tooltip/popover methods
Diffstat (limited to 'docs/components/popovers.md')
-rw-r--r--docs/components/popovers.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/components/popovers.md b/docs/components/popovers.md
index e4ace2ed9..ec5b4970d 100644
--- a/docs/components/popovers.md
+++ b/docs/components/popovers.md
@@ -306,6 +306,24 @@ Hides and destroys an element's popover. Popovers that use delegation (which are
{% highlight js %}$('#element').popover('dispose'){% endhighlight %}
+#### `.popover('enable')`
+
+Gives an element's popover the ability to be shown. **Popovers are enabled by default.**
+
+{% highlight js %}$('#element').popover('enable'){% endhighlight %}
+
+#### `.popover('disable')`
+
+Removes the ability for an element's popover to be shown. The popover will only be able to be shown if it is re-enabled.
+
+{% highlight js %}$('#element').popover('disable'){% endhighlight %}
+
+#### `.popover('toggleEnabled')`
+
+Toggles the ability for an element's popover to be shown or hidden.
+
+{% highlight js %}$('#element').popover('toggleEnabled'){% endhighlight %}
+
### Events
<table class="table table-bordered table-striped table-responsive">