angular8 eventEmitter code example
Example 1: output events in angular with asynchronous
content_copy
<zippy (open)="onOpen($event)" (close)="onClose($event)"></zippy>
Example 2: angular event emitter
@Output() open: EventEmitter<any> = new EventEmitter();
toggel() {
this.open.emit(null);
}