Class: AxisViewTool
@cognite/reveal/tools.AxisViewTool
Hierarchy
-
↳
AxisViewTool
Constructors
constructor
• new AxisViewTool(viewer
, config?
)
Parameters
Name | Type |
---|---|
viewer | Cognite3DViewer |
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
Name | Type |
---|---|
event | "disposed" |
handler | () => void |
Returns
void