Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yasnateam/timer.js
https://github.com/yasnateam/timer.js
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yasnateam/timer.js
- Owner: YasnaTeam
- Created: 2018-07-04T07:58:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-18T15:43:52.000Z (over 6 years ago)
- Last Synced: 2024-12-20T03:13:21.715Z (17 days ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# timer.js
The `timer.js` is a good way to postpone some codes for some times.
## Instalation
### bower
`
bower install js-timer
`
### npm
`
npm i postpone-timer
`## Getting Started
Add the `timer.js` or the `timer.min.js` file in your HTML.
```html
```
## How to use```js
let timer = new Timer();timer.delay(function() {
alert('Timer ended'); // The things to do after ending the time
}, 15); // 15 seconds
```## Author
* **EmiTis Yousefi** - [emitis89](https://github.com/emitis89)
## License
This project is licensed under the MIT License