What is the Purpose of Event Binding in Angular 8?
Event binding is a technique in Angular 8 used to handle the events raised from the DOM like button click, mouse move etc. When the DOM event happens (eg. click, change, keyup, keydown), it calls the specified method in the component. See an example of event binding. In this example, the playMusic() method from the … Read more