Is it me? Is it my IE? or why is this code not working on IE 11:
var clicker = new MouseEvent(\"click\", {
\'bubbles\': true,
\'cancelable\': true,
\'v
Yet another option would be to utilize MDN polyfills package
Installation
npm i mdn-polyfills --save
Usage
import 'mdn-polyfills/MouseEvent';
const link = document.createElement("a");
link.download = fileName;
link.href = url;
link.dispatchEvent(new MouseEvent("click", {bubbles: true, cancelable: true, view: window}));