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
The current method I am using is onRest(){setPlaying(false)} so that each time I set playing to "true" a ripple comes out then after the ripple animation finishes playing, playing is set to "false" so that the next time when I set to "true" it plays again. But I think there should be better ways.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Each time I click a button, a ripple comes out.
The current method I am using is onRest(){setPlaying(false)} so that each time I set playing to "true" a ripple comes out then after the ripple animation finishes playing, playing is set to "false" so that the next time when I set to "true" it plays again. But I think there should be better ways.
Beta Was this translation helpful? Give feedback.
All reactions