Skip to content

Documentation / @giro3d/piero / index / Module

Interface: Module ​

Defined in: packages/piero/src/module.ts:3

Properties ​

id ​

id: string

Defined in: packages/piero/src/module.ts:8

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


name ​

name: string

Defined in: packages/piero/src/module.ts:12

The readable name of the module.

Methods ​

initialize() ​

initialize(context): void | Promise<void>

Defined in: packages/piero/src/module.ts:16

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

void | Promise<void>