click in angular code example
Example 1: onclick event in angular
(click)="myClickFunction($event)"
Example 2: angular click event
<button (click)="FunctionName()">TEST</button>
(click)="myClickFunction($event)"
<button (click)="FunctionName()">TEST</button>