load
import { EVENTS, LoadEvent } from "@egjs/view360";
// Typescript
const onLoad = (evt: LoadStartEvent) => {};
view360.on(EVENTS.LOAD, onLoad);
An event that fires right after the content is loaded & before showing it. 로드된 직후 발생하는 이벤트.
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"