Skip to main content

loadStart

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

// Typescript
const onLoadStart = (evt: LoadStartEvent) => {};

view360.on(EVENTS.LOAD_START, onLoadStart);

An event that fires before loading the content.

Properties

src: string | HTMLElement | Array<string | HTMLElement>

Source URL / HTMLElement to load

video: VideoConfig

Source's video option

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