You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: src/popover/docs/readme.md
+12-7
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ module.
7
7
__Note to mobile developers__: Please note that while popovers may work correctly on mobile devices (including tablets),
8
8
we have made the decision to not officially support such a use-case because it does not make sense from a UX perspective.
9
9
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`:
11
11
12
12
*`uib-popover` -
13
13
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.
27
27
<smallclass="badge">C</small>
28
28
_(Default: `true`, Config: `animation`)_ -
29
29
Should it fade in and out?
30
-
30
+
31
31
*`popover-append-to-body`
32
32
<smallclass="badge">$</small>
33
33
<smallclass="badge">C</small>
34
34
_(Default: `false`, Config: `appendToBody`)_ -
35
35
Should the popover be appended to '$body' instead of the parent element?
36
-
36
+
37
+
*`popover-enable`
38
+
<smallclass="badge">$</small>
39
+
_(Default: `true`)_ -
40
+
Is it enabled? It will enable or disable the configured popover-trigger.
41
+
37
42
*`popover-is-open`
38
43
<iclass="glyphicon glyphicon-eye-open"></i>
39
44
_(Default: `false`)_ -
@@ -43,7 +48,7 @@ All these settings are available for the three types of popovers.
43
48
<smallclass="badge">C</small>
44
49
_(Default: `top`, Config: `placement`)_ -
45
50
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
+
47
52
*`top` - popover on top, horizontally centered on host element.
48
53
*`top-left` - popover on top, left edge aligned with host element left edge.
49
54
*`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.
56
61
*`right` - popover on right, vertically centered on host element.
57
62
*`right-top` - popover on right, top edge aligned with host element top edge.
58
63
*`right-bottom` - popover on right, bottom edge aligned with host element bottom edge.
59
-
64
+
60
65
*`popover-popup-close-delay`
61
66
<smallclass="badge">C</small>
62
67
_(Default: `0`, Config: `popupCloseDelay`)_ -
@@ -69,7 +74,7 @@ All these settings are available for the three types of popovers.
69
74
70
75
*`popover-title` -
71
76
A string to display as a fancy title.
72
-
77
+
73
78
*`popover-trigger`
74
79
_(Default: `click`)_ -
75
80
What should trigger a show of the popover? Supports a space separated list of event names (see below).
0 commit comments