MCPcopy Index your code
hub / github.com/microsoft/SandDance / destroy

Method destroy

docs/app/js/sanddance-app.js:94964–94966  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94962 this.events.forEach((event)=>element.addEventListener(event, this.handleEvent));
94963 }
94964 destroy() {
94965 this.events.forEach((event)=>this.element.removeEventListener(event, this.handleEvent));
94966 }
94967 /**
94968 * Enable this input (begin processing events)
94969 * if the specified event type is among those handled by this input.

Callers 2

sanddance-app.jsFile · 0.45
destroyMethod · 0.45

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected