mgcrea.ngStrap.dropdown
Add dropdown menus to nearly anything with this simple plugin, including the navbar, tabs, and pills.
Append a bs-dropdown
attribute to any element to enable the plugin.
Dropdowns require the tooltip plugin to be included.
$scope.dropdown = {{dropdown | json}};
To prevent databinding issues, "the rule of thumb is, if you use ng-model
there has to be a dot somewhere." Miško Hevery.
Methods available inside the directive scope to toggle visibility.
Reveals the dropdown.
Hides the dropdown.
Toggles the dropdown.