When a user interacts with your app, it's sometimes necessary to know when this happens. A click, hover, or a keyboard action are all events that you can use to call component logic within Angular.
That's what Angular event binding is all about. It's one-way data binding, in that it sends information from the view to the component class. This is opposite from property binding, where data is sent from the component class to the view.
Syncfusion Angular Components supports Event binding i.e ejclick, ejchange, select etc. Events can be bound to the controls using the event name within bracket ‘()’.
In model file, click event handler prints the button text in console. Using this click event handler, we can get the details of button component from ‘event.model’.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|