Edit this page

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) {
            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.
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy