Edit this page

origin String(default: "bottom left")

Specifies how to position the popup element based on anchor point. The value is space separated "y" plus "x" position.

The available "y" positions are:

  • "bottom"
  • "center"
  • "top"

The available "x" positions are:

  • "left"
  • "center"
  • "right"

Example - position the popup on top of the anchor

<input id="datepicker" />
<div id="popup">CONTENT</div>

<script>
    $("#popup").kendoPopup({
        anchor: $("#datepicker"),
        origin: "top left"
    }).data("kendoPopup").open();
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy