Skip to main content

projectionChange

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

// Typescript
const onProjectionChange = (evt: ProjectionChangeEvent) => {};

view360.on(EVENTS.PROJECTION_CHANGE, onProjectionChange);

An event that fires after projection changes

Properties

projection: Projection

An instance of new projection applied

info

The example below intentionally disabled all controls for event order checking.

The following is a list of available events in the example:

  • "loadStart", "load", "ready", "projectionChange"

Events Triggered