MCPcopy
hub / github.com/antvis/Infographic / destroy

Method destroy

src/runtime/Infographic.tsx:207–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205 }
206
207 destroy() {
208 this.editor?.destroy();
209 this.node?.remove();
210 this.node = null;
211 this.rendered = false;
212 this.emitter.emit('destroyed');
213 this.emitter.removeAllListeners();
214 }
215}
216
217type SyntaxParseFeedback = {

Callers

nothing calls this directly

Calls 3

emitMethod · 0.80
removeAllListenersMethod · 0.80
destroyMethod · 0.65

Tested by

no test coverage detected