getAppCanvasById() — astro Function Reference
Architecture documentation for the getAppCanvasById() function in toolbar.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD b2d441c5_a363_0a99_57fc_b8f8854a4ea8["getAppCanvasById()"] 833f7e6d_4781_eb37_c633_27829bbb8361["AstroDevToolbar"] b2d441c5_a363_0a99_57fc_b8f8854a4ea8 -->|defined in| 833f7e6d_4781_eb37_c633_27829bbb8361 7e14b19e_e40c_89de_0e1a_ee47b118ee6f["initApp()"] 7e14b19e_e40c_89de_0e1a_ee47b118ee6f -->|calls| b2d441c5_a363_0a99_57fc_b8f8854a4ea8 b54bc602_4007_3efe_883b_8c7b5af995e9["setAppStatus()"] b54bc602_4007_3efe_883b_8c7b5af995e9 -->|calls| b2d441c5_a363_0a99_57fc_b8f8854a4ea8 362790c1_8a8a_ab85_e8e1_e692f06bf587["setNotificationVisible()"] 362790c1_8a8a_ab85_e8e1_e692f06bf587 -->|calls| b2d441c5_a363_0a99_57fc_b8f8854a4ea8 style b2d441c5_a363_0a99_57fc_b8f8854a4ea8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/runtime/client/dev-toolbar/toolbar.ts lines 429–433
getAppCanvasById(id: string) {
return this.shadowRoot.querySelector<HTMLElement>(
`astro-dev-toolbar-app-canvas[data-app-id="${id}"]`,
);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getAppCanvasById() do?
getAppCanvasById() is a function in the astro codebase, defined in packages/astro/src/runtime/client/dev-toolbar/toolbar.ts.
Where is getAppCanvasById() defined?
getAppCanvasById() is defined in packages/astro/src/runtime/client/dev-toolbar/toolbar.ts at line 429.
What calls getAppCanvasById()?
getAppCanvasById() is called by 3 function(s): initApp, setAppStatus, setNotificationVisible.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free