Angular 4 dispatchEvent with custom event
Your event is not bubbling. Try it:
.dispatchEvent(new Event('customEvent', { bubbles: true }));
Plunker Example
Your event is not bubbling. Try it:
.dispatchEvent(new Event('customEvent', { bubbles: true }));
Plunker Example