CrazyTim / spin-wheel

An easy to use, themeable component for randomising choices and prizes.
https://crazytim.github.io/spin-wheel/examples/themes
MIT License
214 stars 57 forks source link

Add Wheel.onLoaded event #19

Closed CrazyTim closed 4 months ago

CrazyTim commented 1 year ago

Raise when all images have been loaded or resolved.

One use case for this is to hide the wheel while it is loading.

CrazyTim commented 4 months ago

Not needed due to 9e28d00b171452b73f37fb9b272dff095374cbba

The developer who creates the wheel is responsible for pre-loading images and fonts.