Skip to content

Intermact API Reference / @intermact/core / CustomAnimationOptions

Interface: CustomAnimationOptions

Defined in: packages/core/src/animation/orchestration.ts:46

Options for customAnimation.

Properties

duration?

readonly optional duration?: number

Defined in: packages/core/src/animation/orchestration.ts:52

Total duration in seconds (default 1).


params?

readonly optional params?: unknown

Defined in: packages/core/src/animation/orchestration.ts:50

Serializable parameters forwarded to the registered compiler.


targetId?

readonly optional targetId?: string

Defined in: packages/core/src/animation/orchestration.ts:48

Object id the animation targets (optional for non-object effects).

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