Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/fchristenson/dropdown
- Owner: fChristenson
- Created: 2015-03-06T06:55:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-28T07:41:59.000Z (almost 10 years ago)
- Last Synced: 2023-08-20T07:21:57.817Z (over 1 year ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.