Emissor de eventos angulares
@Output() open: EventEmitter<any> = new EventEmitter();
toggel() {
this.open.emit(null);
}
Gorgeous Gentoo
@Output() open: EventEmitter<any> = new EventEmitter();
toggel() {
this.open.emit(null);
}
class EventEmitter<T> extends Subject {
constructor(isAsync?: boolean): EventEmitter<T>
emit(value?: T): void
subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Subscription
}