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

Method destroy

src/editor/interactions/dblclick-edit-text.ts:59–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 destroy() {
60 this.clickHandler?.destroy();
61 this.detachSelectionListener?.();
62 }
63
64 private listenSelectionChange(target: Selection[number]) {
65 const handler = ({ next }: SelectionChangePayload) => {

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected