Skip to content
EN

Interface: ComponentRenderer ​

Renderer implementation for one component type.

Methods ​

create() ​

ts
create(context): unknown;

Parameters ​

ParameterType
contextModuleRenderContext

Returns ​

unknown


apply()? ​

ts
apply?(patches): boolean;

Parameters ​

ParameterType
patchesResolvedComponentPatch[]

Returns ​

boolean


update()? ​

ts
update?(dt): void;

Parameters ​

ParameterType
dtnumber

Returns ​

void


destroy()? ​

ts
destroy?(): void;

Returns ​

void

Suity 开发者文档 · API 由 TypeDoc 从声明文件生成