Home / Function/ eventAppToggled() — astro Function Reference

eventAppToggled() — astro Function Reference

Architecture documentation for the eventAppToggled() function in toolbar.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  741a9d81_525d_a7b5_541d_b9bd427395c0["eventAppToggled()"]
  83c3ec60_dcc8_0742_2bc6_2f156319a9d5["toolbar.ts"]
  741a9d81_525d_a7b5_541d_b9bd427395c0 -->|defined in| 83c3ec60_dcc8_0742_2bc6_2f156319a9d5
  style 741a9d81_525d_a7b5_541d_b9bd427395c0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/events/toolbar.ts lines 7–15

export function eventAppToggled(options: {
	appName: 'other' | (string & {});
}): { eventName: string; payload: AppToggledEventPayload }[] {
	const payload: AppToggledEventPayload = {
		app: options.appName,
	};

	return [{ eventName: EVENT_TOOLBAR_APP_TOGGLED, payload }];
}

Domain

Subdomains

Frequently Asked Questions

What does eventAppToggled() do?
eventAppToggled() is a function in the astro codebase, defined in packages/astro/src/events/toolbar.ts.
Where is eventAppToggled() defined?
eventAppToggled() is defined in packages/astro/src/events/toolbar.ts at line 7.

Analyze Your Own Codebase

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

Try Supermodel Free