Home / Function/ getAppButtonById() — astro Function Reference

getAppButtonById() — astro Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  360742fe_0e10_f36e_4863_bd7718e42016["getAppButtonById()"]
  833f7e6d_4781_eb37_c633_27829bbb8361["AstroDevToolbar"]
  360742fe_0e10_f36e_4863_bd7718e42016 -->|defined in| 833f7e6d_4781_eb37_c633_27829bbb8361
  7e14b19e_e40c_89de_0e1a_ee47b118ee6f["initApp()"]
  7e14b19e_e40c_89de_0e1a_ee47b118ee6f -->|calls| 360742fe_0e10_f36e_4863_bd7718e42016
  b54bc602_4007_3efe_883b_8c7b5af995e9["setAppStatus()"]
  b54bc602_4007_3efe_883b_8c7b5af995e9 -->|calls| 360742fe_0e10_f36e_4863_bd7718e42016
  style 360742fe_0e10_f36e_4863_bd7718e42016 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/runtime/client/dev-toolbar/toolbar.ts lines 435–437

	getAppButtonById(id: string) {
		return this.shadowRoot.querySelector<HTMLElement>(`[data-app-id="${id}"]`);
	}

Domain

Subdomains

Frequently Asked Questions

What does getAppButtonById() do?
getAppButtonById() is a function in the astro codebase, defined in packages/astro/src/runtime/client/dev-toolbar/toolbar.ts.
Where is getAppButtonById() defined?
getAppButtonById() is defined in packages/astro/src/runtime/client/dev-toolbar/toolbar.ts at line 435.
What calls getAppButtonById()?
getAppButtonById() is called by 2 function(s): initApp, setAppStatus.

Analyze Your Own Codebase

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

Try Supermodel Free