Skip to main content
Version: 3.x

Class: AxisViewTool

@cognite/reveal/tools.AxisViewTool

Hierarchy

Constructors

constructor

new AxisViewTool(viewer, config?)

Parameters

NameType
viewerCognite3DViewer
config?AxisBoxConfig

Overrides

Cognite3DViewerToolBase.constructor

Defined in

packages/tools/src/AxisView/AxisViewTool.ts:42

Methods

dispose

dispose(): void

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

Returns

void

Overrides

Cognite3DViewerToolBase.dispose

Defined in

packages/tools/src/AxisView/AxisViewTool.ts:66


off

off(event, handler): void

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

Parameters

NameType
event"disposed"
handler() => void

Returns

void

Inherited from

Cognite3DViewerToolBase.off

Defined in

packages/tools/src/Cognite3DViewerToolBase.ts:37