lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
12 lines • 360 B
JavaScript
export default (filename, blob) => {
if (!blob)
return;
const elem = document.createElement("a");
const objectURL = (elem.href = URL.createObjectURL(blob));
elem.download = filename;
document.body.appendChild(elem);
elem.click();
elem.remove();
URL.revokeObjectURL(objectURL);
};
//# sourceMappingURL=downloadBlob.js.map