Edit this page

trigger

Executes all handlers attached to the given event.

Parameters

eventName String

The name of the event to trigger.

eventData Object

Optional event data which will be passed as an argument to the event handlers.

Example - trigger an event

<script>
var obj = new kendo.Observable();
obj.bind("myevent", function(e) {
    console.log(e.data); // outputs "data"
});
obj.trigger("myevent", { data: "data" });
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy