Home / Function/ getAppIcon() — astro Function Reference

getAppIcon() — astro Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  785c1394_166a_3ce3_bfae_65f39b86a104["getAppIcon()"]
  6a1a8bab_1e39_a18b_630a_7bc4ee8ce93a["toolbar.ts"]
  785c1394_166a_3ce3_bfae_65f39b86a104 -->|defined in| 6a1a8bab_1e39_a18b_630a_7bc4ee8ce93a
  794870ff_2fac_eb49_42a7_ffd9c75c0a9e["getAppTemplate()"]
  794870ff_2fac_eb49_42a7_ffd9c75c0a9e -->|calls| 785c1394_166a_3ce3_bfae_65f39b86a104
  style 785c1394_166a_3ce3_bfae_65f39b86a104 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/runtime/client/dev-toolbar/toolbar.ts lines 598–604

export function getAppIcon(icon: Icon) {
	if (isDefinedIcon(icon)) {
		return getIconElement(icon).outerHTML;
	}

	return icon;
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getAppIcon() do?
getAppIcon() is a function in the astro codebase, defined in packages/astro/src/runtime/client/dev-toolbar/toolbar.ts.
Where is getAppIcon() defined?
getAppIcon() is defined in packages/astro/src/runtime/client/dev-toolbar/toolbar.ts at line 598.
What calls getAppIcon()?
getAppIcon() is called by 1 function(s): getAppTemplate.

Analyze Your Own Codebase

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

Try Supermodel Free