get a field of event value object angular code example Example: click binding angular 8 <button (click)="myFunction()"></button>