MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / off

Method off

src/monogatari.ts:2299–2305  ·  view source on GitHub ↗
(event: string, callback: EventCallback)

Source from the content-addressed store, hash-verified

2297 }
2298
2299 static off (event: string, callback: EventCallback): void {
2300 const element = this.element() as DOM;
2301
2302 if (element) {
2303 element.off (event, callback);
2304 }
2305 }
2306
2307 static parentElement (): DOM {
2308 return $_(this._selector);

Callers

nothing calls this directly

Calls 1

elementMethod · 0.95

Tested by

no test coverage detected