Click Outside JS
Standalone javascript library to make click outside event. You can use it anywhere even with other JS library~ It Just works!
DEMO
Install
Include click-outside.js to your web page.
or
You can install it via NPM
npm install click-outside-js
Usage
// Define the elementvar el = document; // Make New Click Outside Eventvar myEvent = el { console;} // Other Methods// myEvent.remove() // To Remove Event Listener// myEvent.reinit() // To Reinit Event Listener
Thank You for Making this useful~
Let's talk about some projects
Just Contact Me At:
- Email: bosnaufalemail@gmail.com
- Skype Id: bosnaufal254
- twitter: @BosNaufal
License
MIT Copyright (c) 2016 - forever Naufal Rabbani