TransitionFn Type — svelte Architecture
Architecture documentation for the TransitionFn type/interface in types.d.ts from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD db26b721_1b99_1ca6_13d9_8c5b24ed451f["TransitionFn"] 81013f80_b5c2_1ec2_be08_8c26dac8438e["types.d.ts"] db26b721_1b99_1ca6_13d9_8c5b24ed451f -->|defined in| 81013f80_b5c2_1ec2_be08_8c26dac8438e style db26b721_1b99_1ca6_13d9_8c5b24ed451f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/internal/client/types.d.ts lines 137–141
export type TransitionFn<P> = (
element: Element,
props: P,
options: { direction?: 'in' | 'out' | 'both' }
) => AnimationConfig | ((options: { direction?: 'in' | 'out' }) => AnimationConfig);
Source
Frequently Asked Questions
What is the TransitionFn type?
TransitionFn is a type/interface in the svelte codebase, defined in packages/svelte/src/internal/client/types.d.ts.
Where is TransitionFn defined?
TransitionFn is defined in packages/svelte/src/internal/client/types.d.ts at line 137.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free