Skip to main content
Version: Next

Class: abstract Cognite3DViewerToolBase

Base class for tools attaching to a Cognite3DViewer.

Extended by

Constructors

new Cognite3DViewerToolBase()

new Cognite3DViewerToolBase(): Cognite3DViewerToolBase

Returns

Cognite3DViewerToolBase

Methods

dispose()

dispose(): void

Disposes the element and triggeres the 'disposed' event before clearing the list of dipose-listeners.

Returns

void

Defined in

packages/tools/src/Cognite3DViewerToolBase.ts:53


off()

off(event, handler): void

Unregisters an event handler for the 'disposed'-event.

Parameters

event: "disposed"

handler

Returns

void

Defined in

packages/tools/src/Cognite3DViewerToolBase.ts:38