boundaryOffset

Specifies the horizontal and vertical offset from the window's boundaries.

Type: String|Object

This option is used to resolve collisions. If the specified offset from the specified target leads to a collision with the window's boundary, the boundaryOffset value is used to position the element near the place of collision.

This option accepts an object containing the x and y fields which specify horizontal and vertical offset respectively, or a string in the following format: "5 -10", where the first number is a horizontal offset and the second number is a vertical offset in pixels.

x

Specifies the horizontal offset.

Type: Number
Default Value: 0

y

Specifies the vertical offset.

Type: Number
Default Value: 0