Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seikho/jq-counter
A simple little HTML counter
https://github.com/seikho/jq-counter
Last synced: 5 days ago
JSON representation
A simple little HTML counter
- Host: GitHub
- URL: https://github.com/seikho/jq-counter
- Owner: Seikho
- Created: 2016-01-29T13:10:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-29T15:31:14.000Z (almost 9 years ago)
- Last Synced: 2023-02-28T20:51:46.319Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Usage
```javascript
var Counter = require('jq-counter');
var element = document.getElementById('my-counter');
var start = 10;
var end = 0;
var intervalMs = 500; // millisecondsvar myCounter = new Counter({ element, start, end, interval });
myCounter.start();
```