Skip to content

Intermact API Reference / @intermact/core / MorphOptions

Interface: MorphOptions ​

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

Options for morph.

Properties ​

duration? ​

readonly optional duration?: number

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


easing? ​

readonly optional easing?: Easing

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


matchBy? ​

readonly optional matchBy?: MatchByFn

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

matching strategy: derive a part key (default: part.key).


preserveStyle? ​

readonly optional preserveStyle?: boolean

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


sampleCount? ​

readonly optional sampleCount?: number

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


strategy? ​

readonly optional strategy?: MorphStrategy

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

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