click event on textbox in angular 11 code example Example: onclick event in angular (click)="myClickFunction($event)"