Skip to content

Intermact API Reference / @intermact/core / Animation

Interface: Animation

Defined in: packages/core/src/animation/spec.ts:157

Public animation handle: carries a spec, its total duration, and the set of target ids it touches. Returned by factories/animation methods; not executed directly. Compiled into Tracks when added to a Storyboard.

Properties

duration

readonly duration: number

Defined in: packages/core/src/animation/spec.ts:159


spec

readonly spec: AnimationSpec

Defined in: packages/core/src/animation/spec.ts:158


targets

readonly targets: readonly string[]

Defined in: packages/core/src/animation/spec.ts:160

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