Home / Type/ DevToolbarApp Type — astro Architecture

DevToolbarApp Type — astro Architecture

Architecture documentation for the DevToolbarApp type/interface in toolbar.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  f76341c6_6633_2621_7dee_7e297db52d60["DevToolbarApp"]
  ed2c3b72_5559_e363_d0e3_d0f262fd3936["toolbar.ts"]
  f76341c6_6633_2621_7dee_7e297db52d60 -->|defined in| ed2c3b72_5559_e363_d0e3_d0f262fd3936
  style f76341c6_6633_2621_7dee_7e297db52d60 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/types/public/toolbar.ts lines 52–59

export type DevToolbarApp = {
	init?(
		canvas: ShadowRoot,
		app: ToolbarAppEventTarget,
		server: ToolbarServerHelpers,
	): void | Promise<void>;
	beforeTogglingOff?(canvas: ShadowRoot): boolean | Promise<boolean>;
};

Frequently Asked Questions

What is the DevToolbarApp type?
DevToolbarApp is a type/interface in the astro codebase, defined in packages/astro/src/types/public/toolbar.ts.
Where is DevToolbarApp defined?
DevToolbarApp is defined in packages/astro/src/types/public/toolbar.ts at line 52.

Analyze Your Own Codebase

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

Try Supermodel Free