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

Method mounted

extensions/common-frontend/src/app.tsx:131–145  ·  view source on GitHub ↗
(explorer: SandDanceExplorer.Explorer_Class)

Source from the content-addressed store, hash-verified

129 }
130
131 mounted(explorer: SandDanceExplorer.Explorer_Class) {
132 this.explorer = explorer;
133
134 this.wireEventHandlers(true);
135
136 this.vscode.postMessage({
137 command: 'getFileContent',
138 });
139
140 this.checkForDarkTheme();
141
142 new MutationObserver((mutationRecords) => {
143 this.checkForDarkTheme();
144 }).observe(document.body, { attributeFilter: ['class'] });
145 }
146
147 render() {
148 return (

Callers 6

renderMethod · 0.95
renderMethod · 0.80
componentDidMountMethod · 0.80
renderMethod · 0.80
componentDidMountMethod · 0.80
renderMethod · 0.80

Calls 3

wireEventHandlersMethod · 0.95
checkForDarkThemeMethod · 0.95
postMessageMethod · 0.65

Tested by

no test coverage detected