event emitted angular to angularjs 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);
}
Example 3: emitter angular
<component
(open)="open($event)"
></component>