LogoPixi’VN

Function: get()

> get<T>(canvasId): T | undefined

Defined in: src/canvas/decorators/canvas-element-decorator.ts:204

Get a canvas component by the id.

Type Parameters

T

T extends typeof CanvasBaseItem

Parameters

canvasId

string

The id of the canvas component.

Returns

T | undefined

The canvas component type.

On this page