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.
- Host: GitHub
- URL: https://github.com/kaeyleo/tickjs
- Owner: kaeyleo
- Created: 2017-03-15T17:42:37.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-16T07:54:02.000Z (about 8 years ago)
- Last Synced: 2025-01-08T07:28:16.277Z (5 months ago)
- Language: JavaScript
- Homepage: http://liaokeyu.com/tickjs
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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 |