Skip to main content

Properties (7)

Property Type Default Required Description
context⚓︎ any x x

The initial window context. Accessible from WebWindow#getContext

height⚓︎ number 400 x

Window height.

left⚓︎ number 0 x

Distance of the top left window corner from the left edge of the screen.

relativeDirection⚓︎ RelativeDirection "right" x

Direction ("bottom", "top", "left", "right") of positioning the window relatively to the relativeTo window. Considered only if relativeTo is supplied.

relativeTo⚓︎ string x x

The ID of the window that will be used to relatively position the new window. Can be combined with relativeDirection.

top⚓︎ number 0 x

Distance of the top left window corner from the top edge of the screen.

width⚓︎ number 400 x

Window width.