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/dropdown/docs/readme.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Each of these parts need to be used as attribute directives.
16
16
*`always` - Automatically closes the dropdown when any of its elements is clicked.
17
17
*`disabled` - Disables the auto close. You can control it manually with `is-open`. It still gets closed if the toggle is clicked, `esc` is pressed or another dropdown is open. It also won't be closed on `$locationchangeSuccess`.
18
18
*`outsideClick` - Closes the dropdown automatically only when the user clicks any element outside the dropdown.
19
-
19
+
20
20
*`dropdown-append-to`
21
21
<smallclass="badge">$</small>
22
22
_(Default: `null`)_ -
@@ -32,24 +32,28 @@ Each of these parts need to be used as attribute directives.
32
32
<iclass="glyphicon glyphicon-eye-open"></i>
33
33
_(Default: `false`)_ -
34
34
Defines whether or not the dropdown-menu is open. The `uib-dropdown-toggle` will toggle this attribute on click.
35
-
35
+
36
36
*`keyboard-nav`:
37
37
<smallclass="badge">B</small>
38
38
_(Default: `false`)_ -
39
39
Enables navigation of dropdown list elements with the arrow keys.
40
-
40
+
41
41
### uib-dropdown-menu settings
42
42
43
43
*`template-url`
44
44
_(Default: `none`)_ -
45
45
You may specify a template for the dropdown menu. Check the demos for an example.
46
-
46
+
47
47
### Additional settings `uibDropdownConfig`
48
48
49
49
*`appendToOpenClass`
50
50
_(Default: `uib-dropdown-open`)_ -
51
51
Class to apply when the dropdown is open and appended to a different DOM element.
52
-
52
+
53
53
*`openClass`
54
54
_(Default: `open`)_ -
55
55
Class to apply when the dropdown is open.
56
+
57
+
### Known issues
58
+
59
+
For usage with ngTouch, it is recommended to use the programmatic `is-open` trigger with ng-click - this is due to ngTouch decorating ng-click to prevent propagation of the event.
0 commit comments