Edit this page


Triggered when closing the surface tooltip.

Example - subscribe to the "tooltipClose" event

<div id="container"></div>
  var draw = kendo.drawing;
  var surface = draw.Surface.create($("#container"), {
    tooltipClose: function(e) {
      console.log("tooltip close");

  var path = new draw.Path({
    tooltip: {
      content: "Path"
  .moveTo(50, 0).lineTo(100, 50).lineTo(0, 50).close();


Event Data

e.element kendo.drawing.ElementThe element with set tooltip options. Can differ from the target element for groups.
e.preventDefault Function

If invoked, prevents the close action.

e.target kendo.drawing.ElementThe target element.
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article