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.
Dropdown is a simple directive which will toggle a dropdown menu on click or programmatically.
3
-
You can either use `is-open` to toggle or add inside a `<a dropdown-toggle>` element to toggle it when is clicked.
3
+
You can either use `is-open` to toggle or add inside a `<a uib-dropdown-toggle>` element to toggle it when is clicked.
4
4
There is also the `on-toggle(open)` optional expression fired when dropdown changes state.
5
5
6
-
Add `dropdown-append-to-body` to the `dropdown` element to append to the inner `dropdown-menu` to the body.
6
+
Add `dropdown-append-to-body` to the `uib-dropdown` element to append to the inner `dropdown-menu` to the body.
7
7
This is useful when the dropdown button is inside a div with `overflow: hidden`, and the menu would otherwise be hidden.
8
8
9
-
Add `keyboard-nav` to the `dropdown` element to enable navigation of dropdown list elements with the arrow keys.
9
+
Add `uib-keyboard-nav` to the `uib-dropdown` element to enable navigation of dropdown list elements with the arrow keys.
10
10
11
11
By default the dropdown will automatically close if any of its elements is clicked, you can change this behavior by setting the `auto-close` option as follows:
12
12
@@ -16,4 +16,4 @@ By default the dropdown will automatically close if any of its elements is click
16
16
17
17
Optionally, you may specify a template for the dropdown menu using the `template-url` attribute. This is especially useful when you have multiple similar dropdowns in a repeater and you want to keep your HTML output lean and your number of scopes to a minimum. The template has full access to the scope in which the dropdown lies.
0 commit comments