An open API service indexing awesome lists of open source software.

https://github.com/kaeyleo/tickjs

jQuery/Zepto plugin for countdown, simple and easy to use.
https://github.com/kaeyleo/tickjs

Last synced: 3 months ago
JSON representation

jQuery/Zepto plugin for countdown, simple and easy to use.

Awesome Lists containing this project

README

        

# Tick.Js

>Tick.js is a simple countdown plugin for jQuery/Zepto

[Demo](http://liaokeyu.com/tickjs)

## Usage

You need to load the current version of jQuery and the javascript file of the plugin, just link in your HTML:



Then create a container element in your html:

Now you can initialize the plugin:

$('#timer').countDown(
'2017-03-16 02:00:00', 'Time\'s up!'
);

Yep, it works!

##Syntax

element.countDown(Date, endTitle)

## Properties
| Property | Type | Description |
| ------------- |:-------------:| -----:|
| Date |String| The end time of your fancy countdown. |
| endTitle |String| Show something when the end date is reached |