jquery-countdown-button

1.0.1 • Public • Published

jquery-countdown-button

npm version npm downloads David

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

$('some button').countdownButton(options)

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

/jquery-countdown-button/

    Package Sidebar

    Install

    npm i jquery-countdown-button

    Weekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • zenkiezhu