jquery-countdown-button
Disable a clicked button until countdown finished
Installation
npm
npm install jquery-countdown-button --save
bower
bower install jquery-countdown-button --save
Usage
See demo
API
Init
Options
Name | type | default | description |
---|---|---|---|
seconds | number | 60 | seconds to timeout |
beforeClick | function | $.noop | called before countdown, return false to prevent the click |
onClick | function | $.noop | called after countdown setup |