Home / Function/ stringifyAnimation() — astro Function Reference

stringifyAnimation() — astro Function Reference

Architecture documentation for the stringifyAnimation() function in transition.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  f7291c38_0905_3597_aad0_0aff4467dbc8["stringifyAnimation()"]
  f4a9c12d_07bd_6de6_237f_8553c55f6fef["transition.ts"]
  f7291c38_0905_3597_aad0_0aff4467dbc8 -->|defined in| f4a9c12d_07bd_6de6_237f_8553c55f6fef
  1920fb61_b9e6_5573_7885_73058c25bccf["addAnimationPair()"]
  1920fb61_b9e6_5573_7885_73058c25bccf -->|calls| f7291c38_0905_3597_aad0_0aff4467dbc8
  3aecb01c_506c_3888_c7f9_e9e3dc14f2e3["stringifyAnimations()"]
  f7291c38_0905_3597_aad0_0aff4467dbc8 -->|calls| 3aecb01c_506c_3888_c7f9_e9e3dc14f2e3
  style f7291c38_0905_3597_aad0_0aff4467dbc8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/runtime/server/transition.ts lines 230–236

function stringifyAnimation(anim: TransitionAnimation | TransitionAnimation[]): string {
	if (Array.isArray(anim)) {
		return stringifyAnimations(anim);
	} else {
		return stringifyAnimations([anim]);
	}
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does stringifyAnimation() do?
stringifyAnimation() is a function in the astro codebase, defined in packages/astro/src/runtime/server/transition.ts.
Where is stringifyAnimation() defined?
stringifyAnimation() is defined in packages/astro/src/runtime/server/transition.ts at line 230.
What does stringifyAnimation() call?
stringifyAnimation() calls 1 function(s): stringifyAnimations.
What calls stringifyAnimation()?
stringifyAnimation() is called by 1 function(s): addAnimationPair.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free