Skip to main content

Class: WebGiViewerElement

Core-API.WebGiViewerElement

Hierarchy

  • HTMLElement

    WebGiViewerElement

Accessors

observedAttributes

Static get observedAttributes(): string[]

Returns

string[]

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:102

Properties

viewerIndex

Readonly viewerIndex: number

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:12


viewer

Optional viewer: ViewerApp

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:14


canvas

canvas: HTMLCanvasElement

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:15


wrapper

wrapper: HTMLDivElement

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:16


canvasId

Readonly canvasId: string

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:19

Constructors

constructor

new WebGiViewerElement()

Overrides

HTMLElement.constructor

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:21

Methods

refreshAll

refreshAll(): Promise<void>

Returns

Promise<void>

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:52


connectedCallback

connectedCallback(): void

Returns

void

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:78


disconnectedCallback

disconnectedCallback(): void

Returns

void

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:86


adoptedCallback

adoptedCallback(): void

Returns

void

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:92


attributeChangedCallback

attributeChangedCallback(name, oldValue, newValue): void

Parameters

NameType
namestring
oldValuestring
newValuestring

Returns

void

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:106


clearModels

clearModels(): void

Returns

void

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:119


refreshModelSource

refreshModelSource(): Promise<void>

Returns

Promise<void>

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:123


refreshEnvironment

refreshEnvironment(): Promise<void>

Returns

Promise<void>

Defined in

webgi/examples/runtime/WebGiViewerElement.ts:174