MCPcopy Create free account
hub / github.com/Everoot/everoot.github.io / getComponent

Method getComponent

src/app/components/window/window.ts:84–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 }
83
84 getComponent() {
85 switch (this.windowState.app.id) {
86 case 'about':
87 return AboutComponent;
88 case 'projects':
89 return ProjectsComponent;
90 case 'skills':
91 return SkillsComponent;
92 case 'contact':
93 return ContactComponent;
94 case 'terminal':
95 return TerminalComponent;
96 case 'settings':
97 return SettingsComponent;
98 case 'chrome':
99 return ChromeComponent;
100 case 'trash':
101 return TrashComponent;
102 case 'vscode':
103 return VscodeComponent;
104 default:
105 return null;
106 }
107 }
108
109 onHeaderMouseDown(event: MouseEvent) {
110 if (this.windowState.isMaximized) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected