AnimationManager Type — svelte Architecture
Architecture documentation for the AnimationManager type/interface in types.d.ts from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD f1416300_d731_a097_7b1a_fb32ac1c491e["AnimationManager"] 81013f80_b5c2_1ec2_be08_8c26dac8438e["types.d.ts"] f1416300_d731_a097_7b1a_fb32ac1c491e -->|defined in| 81013f80_b5c2_1ec2_be08_8c26dac8438e style f1416300_d731_a097_7b1a_fb32ac1c491e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/internal/client/types.d.ts lines 113–124
export interface AnimationManager {
/** An element with an `animate:` directive */
element: Element;
/** Called during keyed each block reconciliation, before updates */
measure: () => void;
/** Called during keyed each block reconciliation, after updates — this triggers the animation */
apply: () => void;
/** Fix the element position, so that siblings can move to the correct destination */
fix: () => void;
/** Unfix the element position if the outro is aborted */
unfix: () => void;
}
Source
Frequently Asked Questions
What is the AnimationManager type?
AnimationManager is a type/interface in the svelte codebase, defined in packages/svelte/src/internal/client/types.d.ts.
Where is AnimationManager defined?
AnimationManager is defined in packages/svelte/src/internal/client/types.d.ts at line 113.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free