position String(default: "top left")

Specifies which point of the popup element to attach to the anchor's origin 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"),
        position: "bottom left"
In this article
Not finding the help you need? Improve this article