Angular 22 · Components and templates

Handle an event

Call a method when the user clicks.

<button (click)="save()">Save</button>

Official Angular 22 documentation

More components and templates commands

All components and templates commands · Angular 22 cheatsheet

Was this page helpful?