Home / Function/ nativeViewTransition() — astro Function Reference

nativeViewTransition() — astro Function Reference

Architecture documentation for the nativeViewTransition() function in view-transitions.test.js from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  e75aa32a_e67a_0972_c8d8_befd95788005["nativeViewTransition()"]
  b4c19437_37d7_2f07_374e_31b46d21464b["view-transitions.test.js"]
  e75aa32a_e67a_0972_c8d8_befd95788005 -->|defined in| b4c19437_37d7_2f07_374e_31b46d21464b
  style e75aa32a_e67a_0972_c8d8_befd95788005 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/e2e/view-transitions.test.js lines 45–47

async function nativeViewTransition(page) {
	return page.evaluate(() => document.startViewTransition !== undefined);
}

Domain

Subdomains

Frequently Asked Questions

What does nativeViewTransition() do?
nativeViewTransition() is a function in the astro codebase, defined in packages/astro/e2e/view-transitions.test.js.
Where is nativeViewTransition() defined?
nativeViewTransition() is defined in packages/astro/e2e/view-transitions.test.js at line 45.

Analyze Your Own Codebase

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

Try Supermodel Free