Home / Function/ addAnimationRaw() — astro Function Reference

addAnimationRaw() — astro Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  27976e4d_cb29_8c73_4a03_b05d48d34065["addAnimationRaw()"]
  d7cc381c_9294_21bb_a466_854d22d9bf61["ViewTransitionStyleSheet"]
  27976e4d_cb29_8c73_4a03_b05d48d34065 -->|defined in| d7cc381c_9294_21bb_a466_854d22d9bf61
  76c15535_9f6b_845e_9f22_f5c86e52ea7b["renderTransition()"]
  76c15535_9f6b_845e_9f22_f5c86e52ea7b -->|calls| 27976e4d_cb29_8c73_4a03_b05d48d34065
  066351a7_c283_6d13_ba2b_260df1d0fe47["addModern()"]
  27976e4d_cb29_8c73_4a03_b05d48d34065 -->|calls| 066351a7_c283_6d13_ba2b_260df1d0fe47
  bddee0a0_6f9b_881a_da47_a6afb3379489["addFallback()"]
  27976e4d_cb29_8c73_4a03_b05d48d34065 -->|calls| bddee0a0_6f9b_881a_da47_a6afb3379489
  style 27976e4d_cb29_8c73_4a03_b05d48d34065 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/runtime/server/transition.ts lines 159–162

	addAnimationRaw(image: 'old' | 'new' | 'group', animation: string) {
		this.addModern(image, animation);
		this.addFallback(image, animation);
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does addAnimationRaw() do?
addAnimationRaw() is a function in the astro codebase, defined in packages/astro/src/runtime/server/transition.ts.
Where is addAnimationRaw() defined?
addAnimationRaw() is defined in packages/astro/src/runtime/server/transition.ts at line 159.
What does addAnimationRaw() call?
addAnimationRaw() calls 2 function(s): addFallback, addModern.
What calls addAnimationRaw()?
addAnimationRaw() is called by 1 function(s): renderTransition.

Analyze Your Own Codebase

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

Try Supermodel Free