why use event emiiter in angular code example
Example: angular event emitter
@Output() open: EventEmitter<any> = new EventEmitter();
toggel() {
this.open.emit(null);
}
@Output() open: EventEmitter<any> = new EventEmitter();
toggel() {
this.open.emit(null);
}