close

Close the popover.

Close a popover when a button is clicked

<div data-role="view">
  <a data-role="button" href="#foo" data-rel="popover">Open PopOver</a>

  <div id="foo" data-role="popover">
    <div data-role="view">
      <a data-role="button" data-click="close">Close me</a>
    </div>
  </div>
</div>

<script>
var app = new kendo.mobile.Application();

function close() {
  $("#foo").data("kendoMobilePopOver").close();
}
</script>
In this article
Not finding the help you need? Improve this article