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: 4 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-28T07:41:59.000Z (over 10 years ago)
- Last Synced: 2025-01-26T03:42:56.769Z (5 months ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 0
- Watchers: 2
- 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.