Positioning and Dragging

The Window enables you to set its position and move it by dragging.

Positioning

To specify the position of the Window, use its initialTop and initialLeft properties. If initialTop and initialLeft are not provided, the Window will be initially positioned at the center of the viewport.

Example
View Source
Edit In Stackblitz  
Change Theme:

Dragging

By default, the Window enables you to move it by dragging. To control this behavior, use the draggable property.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?