https://github.com/jsoon/luckydraw
Now who is The Lucky Dog in your company?
https://github.com/jsoon/luckydraw
Last synced: 5 months ago
JSON representation
Now who is The Lucky Dog in your company?
- Host: GitHub
- URL: https://github.com/jsoon/luckydraw
- Owner: JSoon
- License: mit
- Created: 2014-07-08T03:28:04.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-25T05:57:17.000Z (almost 12 years ago)
- Last Synced: 2024-12-30T00:48:33.241Z (over 1 year ago)
- Language: JavaScript
- Size: 447 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Overview
> This is a simple lucky draw tool, which allows you to provide a bingo chance to your staffs.
>
> Now who is The Lucky Dog in your company?
# Usage
> SJ.Lucky.draw (list, bBtn, sBtn, callback, delay1, delay2, delay3, delay4);
>
* callback(type: func(luckyDog)): callback for you to deal with the luckyDog
* delay1(type: number): Delay after start btn pressed
* delay2(type: number): Delay after stop btn pressed
* delay3(type: number): Delay after stop timer triggered
* delay4(type: number): Delay before completely stop