const animationFrame: any;
Perform task when
window.requestAnimationFrame would fire.
animationFrame scheduler is used with delay, it will fall back to
async scheduler behaviour.
animationFrame scheduler can be used to create smooth browser animations. It makes sure scheduled task will happen just before next browser content repaint, thus performing animations as efficiently as possible.