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, onClose and onResize events.
  • Controlling its dimensions by using the width and height properties.
  • Controlling its position by using the left and top properties.
  • Controlling the stage of the window though a custom minimize button.

The following example demonstrates how to control the Window functionality.

Example
View Source
Change Theme:

In this article

Not finding the help you need?