interface MicrioEventDetails {
    audio-init: void;
    audio-mute: void;
    audio-unmute: void;
    autoplay-blocked: void;
    draw: void;
    gallery-show: number;
    grid-blur: void;
    grid-focus: MicrioImage;
    grid-init: Grid;
    grid-layout-set: Grid;
    grid-load: void;
    lang-switch: string;
    load: MicrioImage;
    marker-closed: Marker;
    marker-open: Marker;
    marker-opened: Marker;
    media-ended: void;
    media-pause: void;
    media-play: void;
    move: {
        image: MicrioImage;
        view: View;
    };
    page-closed: Menu;
    page-open: Menu;
    panend: {
        duration: number;
        movedX: number;
        movedY: number;
    };
    panstart: void;
    pinchend: {
        duration: number;
        movedX: number;
        movedY: number;
    };
    pinchstart: void;
    pre-data: {
        [micrioId: string]: ImageData;
    };
    pre-info: ImageInfo;
    print: ImageInfo;
    resize: DOMRect;
    serialtour-pause: MarkerTour;
    serialtour-play: MarkerTour;
    show: HTMLMicrioElement;
    splitscreen-start: MicrioImage;
    splitscreen-stop: MicrioImage;
    timeupdate: number;
    tour-ended: VideoTour;
    tour-event: Event;
    tour-minimize: Tour;
    tour-start: Tour;
    tour-step: MarkerTour;
    tour-stop: Tour;
    update: string[];
    videotour-pause: void;
    videotour-play: void;
    videotour-start: VideoTour;
    videotour-stop: VideoTour;
    zoom: {
        image: MicrioImage;
        view: View;
    };
}

Properties

audio-init: void

The audio controller has been successfully initialized and can play audio

audio-mute: void

The audio has been muted

audio-unmute: void

The audio has been unmuted

autoplay-blocked: void

Fires when there is autoplay audio or video which was disallowed by the browser

draw: void

A frame has been drawn

gallery-show: number

Triggers on album image change

grid-blur: void

The main grid has lost focus, i.e., navigated away

grid-focus: MicrioImage

The main grid view is activated

grid-init: Grid

The grid controller has initialized

grid-layout-set: Grid

The grid layout has changed

grid-load: void

All images in the grid have loaded

lang-switch: string

The user has switched available languages

Individual image data is loaded and Micrio will start rendering

marker-closed: Marker

A marker has been successfully closed

marker-open: Marker

A marker has been opened and the camera animation is starting

marker-opened: Marker

A marker has been fully opened and the camera is done, and popup shown

media-ended: void

Media has ended

media-pause: void

Media has stopped playing

media-play: void

Media has started playing

move: {
    image: MicrioImage;
    view: View;
}

The camera has moved

page-closed: Menu

A custom popover page was closed

page-open: Menu

A custom popover page was opened

panend: {
    duration: number;
    movedX: number;
    movedY: number;
}

The user has stopped panning

panstart: void

The user has started panning

pinchend: {
    duration: number;
    movedX: number;
    movedY: number;
}

The user has stopped pinching

pinchstart: void

The user has stopped pinching

pre-data: {
    [micrioId: string]: ImageData;
}

Before the ImageData contents are read, this event allows you to alter it

pre-info: ImageInfo

Before the ImageInfo settings are read, this event allows you to alter them

print: ImageInfo

The main Micrio element has initialized and is being printed

resize: DOMRect

The element was resized

serialtour-pause: MarkerTour

A multi-image tour is paused

serialtour-play: MarkerTour

A multi-image tour is played/resumed

The main Micrio image is loaded and fully shown

splitscreen-start: MicrioImage

Split screen mode has started

splitscreen-stop: MicrioImage

Split screen mode has stopped

timeupdate: number

A media timeupdate tick

tour-ended: VideoTour

A video tour has ended

tour-event: Event

When a video tour has custom events, they will be fired like this

tour-minimize: Tour

A tour's UI interface has automatically minimized

tour-start: Tour

A tour has been successfully started

tour-step: MarkerTour

Fires for each marker step in a marker tour

tour-stop: Tour

A tour has been successfully stopped

update: string[]

When there is any user action, this event fires. Deferred and fires at a maximum rate of every 500ms

videotour-pause: void

A video tour is paused

videotour-play: void

A video tour is played or resumed

videotour-start: VideoTour

A video tour has started from the beginning (can be part of a marker tour)

videotour-stop: VideoTour

A video tour has ended or is aborted (can be part of a marker tour)

zoom: {
    image: MicrioImage;
    view: View;
}

The camera has zoomed