@univerjs/engine-render v0.5.0-beta.1 • Docs
Function: requestNewFrame()
function requestNewFrame(func, requester?): number
Queue a new function into the requested animation frame pool (ie. this function will be executed byt the browser for the next frame)
Parameters
Parameter | Type | Description |
---|---|---|
func | Function | the function to be called |
requester ? | any | the object that will request the next frame. Falls back to window. |
Returns
number
frame number
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:76