We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Syncfusion Feedback

Events of Editor Controls

Platform: jQuery |
Control: General

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 ‘()’.

Here we triggered ejclick function of ejButton Component. Refer to the below code snippet for click event of button Component. To know more about specific events of Angular components, refer the link here


<button type="button" ej-button text="MyButton" (ejclick)="btnclick($event)"></button>



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’.


import { Component } from '@angular/core';



    selector: 'ej-app',

    templateUrl: './button.component.html',


export class ButtonComponent {







You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile