You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice if .loop() would support aka "while" function instead of specific maxNumber.
Concept:
letisLoaded=false;fetch('http://example.com/api').then(()=>{// do some stuffisLoaded=true;})consttween=newBetween(0,360).time(1500)// 1500ms.loop('repeat',()=>!isLoaded);// repeat if not loadedtween.on('update',v=>{spinnerElement.style.transform=`rotate(${v}deg)`;});
The text was updated successfully, but these errors were encountered:
Would be nice if
.loop()
would support aka "while" function instead of specific maxNumber.Concept:
The text was updated successfully, but these errors were encountered: