onFinishRender

onFinishRender: BeEvent<() => void> = new BeEvent<() => void>()

Called at the end of each tick of the render loop, after all viewports have been updated. The render loop is typically invoked by a requestAnimationFrame() callback. It will not be invoked if the ViewManager is tracking no viewports.

note Due to the frequency of this event, avoid performing expensive work inside event listeners.

see ViewManager.onBeginRender

Defined in

Last Updated: 13 June, 2024