Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 7f93bfc

Browse files
Thorsten Möllerwesleycho
Thorsten Möller
authored andcommitted
docs(popover): add popover-enable
Closes #5615 Closes #5626
1 parent 1714a38 commit 7f93bfc

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

Diff for: src/popover/docs/readme.md

+12-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.
77
__Note to mobile developers__: Please note that while popovers may work correctly on mobile devices (including tablets),
88
we have made the decision to not officially support such a use-case because it does not make sense from a UX perspective.
99

10-
There are three versions of the popover: `uib-popover` and `uib-popover-template`, and `uib-tooltip-html`:
10+
There are three versions of the popover: `uib-popover` and `uib-popover-template`, and `uib-popover-html`:
1111

1212
* `uib-popover` -
1313
Takes text only and will escape any HTML provided for the popover body.
@@ -27,13 +27,18 @@ All these settings are available for the three types of popovers.
2727
<small class="badge">C</small>
2828
_(Default: `true`, Config: `animation`)_ -
2929
Should it fade in and out?
30-
30+
3131
* `popover-append-to-body`
3232
<small class="badge">$</small>
3333
<small class="badge">C</small>
3434
_(Default: `false`, Config: `appendToBody`)_ -
3535
Should the popover be appended to '$body' instead of the parent element?
36-
36+
37+
* `popover-enable`
38+
<small class="badge">$</small>
39+
_(Default: `true`)_ -
40+
Is it enabled? It will enable or disable the configured popover-trigger.
41+
3742
* `popover-is-open`
3843
<i class="glyphicon glyphicon-eye-open"></i>
3944
_(Default: `false`)_ -
@@ -43,7 +48,7 @@ All these settings are available for the three types of popovers.
4348
<small class="badge">C</small>
4449
_(Default: `top`, Config: `placement`)_ -
4550
Passing in 'auto' separated by a space before the placement will enable auto positioning, e.g: "auto bottom-left". The popover will attempt to position where it fits in the closest scrollable ancestor. Accepts:
46-
51+
4752
* `top` - popover on top, horizontally centered on host element.
4853
* `top-left` - popover on top, left edge aligned with host element left edge.
4954
* `top-right` - popover on top, right edge aligned with host element right edge.
@@ -56,7 +61,7 @@ All these settings are available for the three types of popovers.
5661
* `right` - popover on right, vertically centered on host element.
5762
* `right-top` - popover on right, top edge aligned with host element top edge.
5863
* `right-bottom` - popover on right, bottom edge aligned with host element bottom edge.
59-
64+
6065
* `popover-popup-close-delay`
6166
<small class="badge">C</small>
6267
_(Default: `0`, Config: `popupCloseDelay`)_ -
@@ -69,7 +74,7 @@ All these settings are available for the three types of popovers.
6974

7075
* `popover-title` -
7176
A string to display as a fancy title.
72-
77+
7378
* `popover-trigger`
7479
_(Default: `click`)_ -
7580
What should trigger a show of the popover? Supports a space separated list of event names (see below).
@@ -101,7 +106,7 @@ methods are available:
101106
* `setTriggers(obj)`
102107
_(Example: `{ 'openTrigger': 'closeTrigger' }`)_ -
103108
Extends the default trigger mappings mentioned above with mappings of your own.
104-
109+
105110
* `options(obj)` -
106111
Provide a set of defaults for certain tooltip and popover attributes. Currently supports the ones with the <small class="badge">C</small> badge.
107112

0 commit comments

Comments
 (0)