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) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(e.data); // outputs "data"
});
obj.trigger("myevent", { data: "data" });
</script>