stringham / raffle

HTML and Javascript Raffle System
54 stars 39 forks source link

Add ability to choose the number of winners per round. #8

Closed chloehale closed 3 years ago

chloehale commented 3 years ago

Instead of reintroducing the ?limit= query parameter, I've created a spinner in the UI when importing names that allows you to pick how many winners are chosen per round. If the value = 1, the raffle behaves the same as before. If the value > 1, the animation to show winners is slightly different (I leveraged the window.limit code that used to exist here). Screen Shot 2020-10-13 at 5 30 49 PM