MCPcopy
hub / github.com/markmap/markmap / destroy

Method destroy

packages/markmap-view/src/view.ts:758–764  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

756 }
757
758 destroy() {
759 this.svg.on('.zoom', null);
760 this.svg.html(null);
761 this._disposeList.forEach((fn) => {
762 fn();
763 });
764 }
765
766 static create(
767 svg: string | SVGElement | ID3SVGElement,

Callers

nothing calls this directly

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected