🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

clickout.js is an ultra-light jQuery plugin which allows to detect and fire an event when you click outside of an elements scope.

Event callback Click

Documentation

jQuery-clickout

A jQuery plugin provides clickout event.

Download

Compress
Uncompress

Installation

You can also install jquery-clickout by using Bower.

bower install jquery-clickout 

Usage

You could just use jQuery bind or on to listen event. JavaScript

element.bind('clickout', clickoutHandler); element.clickout(clickoutHandler);

License

The project is released under the MIT license.

Contact

The project's website is located at https://github.com/emn178/jquery-clickout
Author: Chen, Yi-Cyuan ([email protected])


You May Also Like