* Helper function, a callback for download that deletes * an invisible anchor element from the DOM once the file * has been automatically downloaded. * * @private
(event)
| 23859 | * @private |
| 23860 | */ |
| 23861 | function destroyClickedElement(event) { |
| 23862 | document.body.removeChild(event.target); |
| 23863 | } |
| 23864 | |
| 23865 | module.exports = p5; |
| 23866 |