Skip to content

Intermact API Reference / @intermact/core / Projection

Interface: Projection ​

Defined in: packages/core/src/animation/track.ts:147

Build-time projection used to resolve tween from values.

Methods ​

read() ​

read(targetId, property): unknown

Defined in: packages/core/src/animation/track.ts:148

Parameters ​

targetId ​

string

property ​

PropertyPath

Returns ​

unknown


write() ​

write(targetId, property, value): void

Defined in: packages/core/src/animation/track.ts:149

Parameters ​

targetId ​

string

property ​

PropertyPath

value ​

unknown

Returns ​

void

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)