Skip to main content

Interface: Element<Params>

Interface for creating visual elements in the scene. Defines the contract for all element types including video, image, text, and captions.

Type parameters​

NameType
ParamsElementParams

Table of contents​

Methods​

Properties​

Methods​

create​

▸ create(params): ThreadGenerator

Creates and manages the element in the scene

Parameters​

NameType
paramsParams

Returns​

ThreadGenerator

Defined in​

helpers/types.ts:292

Properties​

name​

• name: string

The unique name identifier for this element type

Defined in​

helpers/types.ts:290