Skip to content

Intermact API Reference / @intermact/core / toAnimation

Function: toAnimation() ​

toAnimation(spec): Animation

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

Wrap a spec into an Animation handle.

Parameters ​

spec ​

AnimationSpec

Returns ​

Animation

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