mouseleave
Triggered when the mouse is leaves an element.
Example - subscribe to the "mouseleave" event during initialization
<div id="container"></div>
<script>
    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();
    surface.draw(path);
</script>Event Data
e.element kendo.drawing.Element
The target element.
e.originalEvent Object
The browser event that triggered the click.
In this article