All Components
Theme

Themes

    MVVM / Event binding

    Events log:

    View source code

    <div id="example">
        <button data-bind="events:{ click: listener, dblclick: listener, mouseover: listener, mouseout: listener }">Button</button>
    </div>
    

    View model source code

    var viewModel = kendo.observable({
        listener: function(e) {
            kendoConsole.log("Event: " + e.type);
        }
    });
    
    kendo.bind($("#example"), viewModel);
    

    HTML5/JavaScript source

    API Reference
    • event.html
    • Widget configuration

    Support & learning resources