Triggered when the mouse is leaves an element.

Example - subscribe to the "mouseleave" event during initialization

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

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


Event Data

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