'angular what is the (change) in parenthesis concept called and what are all the options?

I'm going through some angular code with the following snippet. What is the part with (change) called? What keywords should I use to Google this? I've also seen (click). What other options are there?

<input type="checkbox" name="annotationtype" (change)="onChange('visualtitle', $event.target.checked)" />


Solution 1:[1]

They are called event bindings: https://angular.io/guide/event-binding

If you would use vanilla html then the equivalent of (click) would be:

<button onclick="onClick()">Click me</button>

Please see the attached link to the documentation. It explains it much better than I can :)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Zsolt AndrĂ¡s Patka