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

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?

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