mouseenter

Triggered when the mouse is moved over an element.

Example - subscribe to the "mouseenter" event during initialization

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

    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.ElementThe target element.
e.originalEvent ObjectThe browser event that triggered the click.
In this article