view-transitions.ts — astro Source File
Architecture documentation for view-transitions.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 83b9a432_cb59_d6d8_a07a_806a3dc201bf["view-transitions.ts"] 0d5629a5_6f4f_7084_1a43_86f522f2d2e4["../../transitions/events.js"] 83b9a432_cb59_d6d8_a07a_806a3dc201bf --> 0d5629a5_6f4f_7084_1a43_86f522f2d2e4 style 83b9a432_cb59_d6d8_a07a_806a3dc201bf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import type {
TransitionBeforePreparationEvent,
TransitionBeforeSwapEvent,
} from '../../transitions/events.js';
export interface TransitionAnimation {
name: string; // The name of the keyframe
delay?: number | string;
duration?: number | string;
easing?: string;
fillMode?: string;
direction?: string;
}
export interface TransitionAnimationPair {
old: TransitionAnimation | TransitionAnimation[];
new: TransitionAnimation | TransitionAnimation[];
}
export interface TransitionDirectionalAnimations {
forwards: TransitionAnimationPair;
backwards: TransitionAnimationPair;
}
export type TransitionAnimationValue =
| 'initial'
| 'slide'
| 'fade'
| 'none'
| TransitionDirectionalAnimations;
declare global {
interface DocumentEventMap {
'astro:before-preparation': TransitionBeforePreparationEvent;
'astro:after-preparation': Event;
'astro:before-swap': TransitionBeforeSwapEvent;
'astro:after-swap': Event;
'astro:page-load': Event;
}
}
Domain
Classes
Types
Dependencies
- ../../transitions/events.js
Source
Frequently Asked Questions
What does view-transitions.ts do?
view-transitions.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain.
What does view-transitions.ts depend on?
view-transitions.ts imports 1 module(s): ../../transitions/events.js.
Where is view-transitions.ts in the architecture?
view-transitions.ts is located at packages/astro/src/types/public/view-transitions.ts (domain: CoreAstro, directory: packages/astro/src/types/public).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free