MCPcopy
hub / github.com/leaferjs/leafer-ui / destroy

Method destroy

packages/display/src/UI.ts:558–563  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

556
557
558 public destroy(): void {
559 this.__.__willDestroy = true
560 this.fill = this.stroke = null
561 if (this.__animate) this.killAnimate()
562 super.destroy()
563 }
564
565}
566

Callers

nothing calls this directly

Calls 2

killAnimateMethod · 0.95
destroyMethod · 0.65

Tested by

no test coverage detected