autoHideBoolean(default: true)

Specifies if the tooltip will be hidden when mouse leaves the shape. If set to false a close button will be shown within the tooltip.

Example

<div id="surface"></div>
<script>
var draw = kendo.drawing;
var geom = kendo.geometry;
var surface = draw.Surface.create($("#surface"));

var rect = new draw.Rect(new geom.Rect([10, 10], [100, 50]), {
    fill: { color: "blue" },
    tooltip: {
        autoHide: false,
        content: "Rectangle with persistent tooltip"
    }
});

surface.draw(rect);
</script>
In this article
autoHide
Not finding the help you need?
Contact Support