Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tj/react-click-outside
ClickOutside component for React.
https://github.com/tj/react-click-outside
Last synced: about 15 hours ago
JSON representation
ClickOutside component for React.
- Host: GitHub
- URL: https://github.com/tj/react-click-outside
- Owner: tj
- License: mit
- Created: 2016-02-24T18:31:23.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-22T10:27:18.000Z (almost 4 years ago)
- Last Synced: 2024-11-29T12:48:45.612Z (15 days ago)
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 774
- Watchers: 8
- Forks: 75
- Open Issues: 18
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
- License: LICENSE
Awesome Lists containing this project
README
# ClickOutside
React click outside component.
## Installation
```
$ npm install tj/react-click-outside
```## Example
```js
Im a menu or something that you want to hide when clicking outside.
```
## Badges
![](https://img.shields.io/badge/license-MIT-blue.svg)
![](https://img.shields.io/badge/status-stable-green.svg)---
> [tjholowaychuk.com](http://tjholowaychuk.com) ·
> GitHub [@tj](https://github.com/tj) ·
> Twitter [@tjholowaychuk](https://twitter.com/tjholowaychuk)