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
andonResize
events. - Controlling its dimensions by using the
width
andheight
properties. - Controlling its position by using the
left
andtop
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: