1.0.6 • Published 2 years ago
jquery-plugin-xclick v1.0.6
jquery-plugin-xclick
jquery-plugin-xclick
is a jQuery plugin that allows you to setup an onclick event handler that triggers every x times that the element is clicked. It is useful to detect triple clicks.
Installation
npm install jquery-plugin-xclick
Usage
$('button').xclick(5, () => {
alert('Clicked 5 times in a row!');
});