hide
Fires when a Popover is hidden.
Example - subscribing to the hide event during initialization
<span id="target">
Some content
</span>
<script>
$(document).ready(function() {
$("#target").kendoPopover({
template: "Content",
hide: function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log("popover is hidden!");
}
});
});
</script>
Example - subscribing to the hide event after initialization
<span id="target">
Some content
</span>
<script>
$(document).ready(function() {
var popover = $("#target").kendoPopover({ template: "Content" }).data("kendoPopover");
popover.bind("hide", function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log("popover is hidden!");
});
});
</script>