MCPcopy Index your code
hub / github.com/microsoft/SandDance / wireEventHandlers

Method wireEventHandlers

extensions/common-frontend/src/app.tsx:107–115  ·  view source on GitHub ↗
(add: boolean)

Source from the content-addressed store, hash-verified

105 }
106
107 private wireEventHandlers(add: boolean) {
108 for (const key in this.handlers) {
109 if (add) {
110 window.addEventListener(key, this.handlers[key]);
111 } else {
112 window.removeEventListener(key, this.handlers[key]);
113 }
114 }
115 }
116
117 checkForDarkTheme() {
118 const vscodeThemeClassName = getVscodeThemeClassName();

Callers 1

mountedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected