Internet explorer doesn't support the Event constructor at all. To support IE (which many developers need to) you'll need to use document.createEvent('Event').
Here is an example:
var ce = document.createEvent('Event');
ce.initEvent('input', true, true);
wdtEmojiBundle.input.dispatchEvent(ce);
wdtEmojiBundle.close();
Internet explorer doesn't support the
Event
constructor at all. To support IE (which many developers need to) you'll need to usedocument.createEvent('Event')
.Here is an example:
Here is a reference https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events