Closed julkue closed 4 years ago
This would be better than e.g. setTimeout:
setTimeout
https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame
Good thinking, but I don't think requestAnimationFrame can replace setTimeout in this instance. I'm using setTimeout to delay the beginning of a CSS transition.
This would be better than e.g.
setTimeout
:https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame