1

There are 1 best solutions below

2
On

Provided that there is a public function on the Controller named myFunction(), this should work:

<button type="submit" (click)="myFunction()"> </button>