Skip to content

Intermact API Reference / @intermact/core / specTargets

Function: specTargets()

specTargets(spec): string[]

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

Collect all target ids referenced by a spec tree.

Parameters

spec

AnimationSpec

Returns

string[]

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