Intermact API Reference / @intermact/core / customAnimation
Function: customAnimation()
customAnimation(
type,options?):Animation
Defined in: packages/core/src/animation/orchestration.ts:131
Build a plugin-supplied animation (design.md §18). It is compiled by the AnimationCompiler registered under type in the animations registry, so new animation kinds are added without editing the core compiler. params must be JSON-serializable (validated via assertSerializableParams) so the animation survives serialize/deserialize.
Parameters
type
string