Skip to content

Documentation / @giro3d/piero / modules / panels / Annotations

Class: Annotations ​

Defined in: packages/piero/src/modules/panels/annotations/Annotations.ts:6

Implements ​

Constructors ​

Constructor ​

new Annotations(): Annotations

Returns ​

Annotations

Properties ​

id ​

readonly id: "builtin-panel-annotations" = 'builtin-panel-annotations'

Defined in: packages/piero/src/modules/panels/annotations/Annotations.ts:7

The unique id of the module, that also acts as a key to find the module configuration in the app configuration.

Implementation of ​

Module.id


name ​

readonly name: "Annotations panel" = 'Annotations panel'

Defined in: packages/piero/src/modules/panels/annotations/Annotations.ts:8

The readable name of the module.

Implementation of ​

Module.name

Methods ​

initialize() ​

initialize(context): void | Promise<void>

Defined in: packages/piero/src/modules/panels/annotations/Annotations.ts:10

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

void | Promise<void>

Implementation of ​

Module.initialize