Controlled Window

By default, the Window is in an uncontrolled state and can be resized or moved depending on its internal logic.

The Window provides options for:

  • Controlling its state by handling the onMove and onResize events.
  • Controlling its dimensions by using the width and height properties.
  • Controlling its position by using the left and top properties.

The following example demonstrates how to control the Window functionality.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?