I would like to know if it is possible in Angular 4 to have two ouput events calling 1 function?
e.g.
<input type="button" value="send" (click, keydown.enter)="doMagic()"/>
instead of doing
<input type="button" value="send" (click)="doMagic()" (keydown.enter)="doMagic()"/>
@HostListener is not an option.
Thanks for your help!