Triggered when an element has been clicked.

Example - subscribe to the "click" event during initialization

<div id="container"></div>
    var draw = kendo.drawing;
    var surface = draw.Surface.create($("#container"), {
        click: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */

    var path = new draw.Path().fill("red")
        .moveTo(50, 0).lineTo(100, 50).lineTo(0, 50).close();


Event Data

e.element kendo.drawing.ElementThe clicked element.
e.originalEvent ObjectThe browser event that triggered the click.
In this article