Align

Defines the horizontal and vertical aligning point of the Popup.

NameTypeDefaultDescription

horizontal

"left" | "right" | "center"

Defines the possible horizontal point values that are relative to the anchor or the Popup.

The available options are:

  • left—Uses the leftmost point of the anchor element.
  • center—Uses the center point of the anchor element.
  • right—Uses the rightmost point of the anchor element.

vertical

"center" | "top" | "bottom"

Defines the possible vertical point values that are relative to the anchor or the Popup.

The available options are:

  • top—Uses the top point of the anchor element.
  • center—Uses the center point of the anchor element.
  • bottom—Uses the bottom point of the anchor element.

In this article

Not finding the help you need?