Skip to main content

LoadingSpinner

Since version 4.0.0

A plugin that displays loading spinner while loading the projection.

class LoadingSpinner implements View360Plugin

Implements

Properties

Default class names that LoadingSpinner uses

A class names overriding

Methods

Destroy plugin and release all resources & event handlers.

Initialize plugin.

Constructor

Create a new instance of LoadingSpinner. 새
new LoadingSpinner(options: Partial<LoadingSpinnerOptions>): LoadingSpinner

Parameters

options

Partial<LoadingSpinnerOptions>

{}

Options

Properties

DEFAULT_CLASS

>=4.0.0
static readonly
DEFAULT_CLASS

{ CONTAINER: "view360-spinner"; RING: "view360-spinner-ring" }

Default class names that LoadingSpinner uses

className

>=4.0.0
readonly
className

Partial<{ CONTAINER: string; RING: string }>

A class names overriding

Methods

destroy

>=4.0.0
destroy

void

destroy(viewer: View360): void

Destroy plugin and release all resources & event handlers.

Parameters

viewer

A instance of viewer to detach plugin

init

>=4.0.0
init

void

init(viewer: View360): void

Initialize plugin.

Parameters

viewer

A instance of viewer to attach plugin