I am creating an event, so use the DOM Event constructor:
new Event(\'change\');
This works fine in modern browsers, however in Internet Ex
This package does the magic:
https://www.npmjs.com/package/custom-event-polyfill
Include the package and dispatch the event as following:
window.dispatchEvent(new window.CustomEvent('some-event'))