requestAnimationFrame(callback)
Calls callback on the next frame. Returns a request ID which can be used to cancel the request.
Param
Type
callback
functionCalls callback on the next frame. Returns a request ID which can be used to cancel the request.
function