MCPcopy Create free account
hub / github.com/eva-engine/eva.js / destroy

Method destroy

packages/plugin-worker/lib/events/EventSystem.ts:279–283  ·  view source on GitHub ↗

Destroys all event listeners and detaches the renderer.

()

Source from the content-addressed store, hash-verified

277
278 /** Destroys all event listeners and detaches the renderer. */
279 public destroy(): void {
280 this.setTargetElement(null);
281 this.renderer = null;
282 this._currentCursor = null;
283 }
284
285 /**
286 * Sets the current cursor mode, handling any callbacks or CSS style changes.

Callers

nothing calls this directly

Calls 1

setTargetElementMethod · 0.95

Tested by

no test coverage detected