show

Fires when a Popover is shown.

Example - subscribing to the show event during initialization

<span id="target">
  Some content
</span>

<script>
  $(document).ready(function() {
    $("#target").kendoPopover({
      template: "Content",
      show: function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
        console.log("popover is shown");
      }
    });

  });
</script>

Example - subscribing to the show event after initialization

<span id="target">
  Some content
</span>

<script>
  $(document).ready(function() {
    var popover = $("#target").kendoPopover({
      template: "Content",
    }).data("kendoPopover");

    popover.bind("show", function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
      console.log("popover is shown");
    });
  });
</script>
In this article
Not finding the help you need? Improve this article