onBeginRender Readonly

onBeginRender: BeEvent<() => void> = ...

Called at the beginning of each tick of the render loop, before any 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.onFinishRender

Defined in

Last Updated: 11 June, 2024