Skip to main content

beforeRender

import { EVENTS, BeforeRenderEvent } from "@egjs/view360";

// Typescript
const onBeforeRender = (evt: BeforeRenderEvent) => {};

view360.on(EVENTS.BEFORE_RENDER, onBeforeRender);

An event that fires before rendering a frame.

info

In the example below, only the "beforeRender" event is visible.

Events Triggered