Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fchristenson/dropdown

Simple angular directive for hiding a element on a DOM click outside of itself.
https://github.com/fchristenson/dropdown

Last synced: about 2 months ago
JSON representation

Simple angular directive for hiding a element on a DOM click outside of itself.

Awesome Lists containing this project

README

        

# Dropdown #
Simple angular directive for hiding a element on a DOM click outside of itself.

## Usage ##
Include the file in your document and change the module name to your desired module name.
Add the directive to any element that you want to hide when a click is made outside of the element.
Give the directive the optional "watchMe" flag and it will watch for a falsy change and hide the element.