MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / destroyClickedElement

Function destroyClickedElement

libraries/p5.js:23861–23863  ·  view source on GitHub ↗

* Helper function, a callback for download that deletes * an invisible anchor element from the DOM once the file * has been automatically downloaded. * * @private

(event)

Source from the content-addressed store, hash-verified

23859 * @private
23860 */
23861function destroyClickedElement(event) {
23862 document.body.removeChild(event.target);
23863}
23864
23865module.exports = p5;
23866

Callers 1

p5.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected