Skip to main content

Options for creating a popup window. The created window will be frameless and hidden.

Properties (9)

Property Type Default Required Description
copyStyles⚓︎ boolean true x

If true, the window styles will be copied from the parent window. For the copy operation to succeed, the styles to copy must be global and already loaded in the parent window document before invoking the createPopup() method.

hasMoveAreas⚓︎ boolean true x

If true, the window will have move areas and the user will be able to move it.

hasSizeAreas⚓︎ boolean false x

If true, the user will be able to resize the window by dragging its borders.

height⚓︎ number 600 x

Window height in pixels.

left⚓︎ number 0 x

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

roundedCorners⚓︎ boolean x x

If true, the window will have rounded corners.

top⚓︎ number 0 x

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

transparent⚓︎ boolean false x

If true, the window will be transparent.

width⚓︎ number 600 x

Window width in pixels.