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>

        anchor: $("#datepicker"),
        origin: "top left"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article