WindowProps
Represents the props of the KendoReact Window component.
Name | Type | Default | Description |
---|---|---|---|
appendTo? |
| Defines the container to which the Window will be appended. Defaults to its parent element.
| |
className? |
| Sets a class of the Window DOM element. | |
closeButton? |
| Specifies if the Window will render the close button. | |
doubleClickStageChange? |
| Specifies if the Window stage will change on title double click. The this is on by default. | |
draggable? |
| Specifies if the Window will be draggable (see example). | |
height? |
| Specifies the height of the Window (see example). | |
initialHeight? |
| Specifies the initial height of the Window (see example). The component will be in an uncontrolled mode. | |
initialLeft? |
| Specifies the initial | |
initialTop? |
| Specifies the initial | |
initialWidth? |
| Specifies the initial width of the Window (see example). The component will be in an uncontrolled mode. | |
left? |
| Specifies the left coordinates of the Window. | |
maximizeButton? |
| Specifies if the Window will render the maximize button. | |
minHeight? |
| Specifies the minimum height of the Window (see example). | |
minWidth? |
| Specifies the minimum width of the Window (see example). | |
minimizeButton? |
| Specifies if the Window will render the minimize button. | |
modal? |
| Specifies if the Window will be modal by rendering an overlay under the component. | |
overlayStyle? |
| Set styles to the Window overlay element rendered when the | |
resizable? |
| Specifies if the Window will be resizable (see example). | |
restoreButton? |
| Specifies if the Window will render the restore button. | |
shouldUpdateOnDrag? |
| Specifies if the Window content will update during resizing. | |
stage? |
| Controls the state of the Window (see example). The supported values are:
| |
style? |
| Set styles to the Window element. | |
title? |
| Specifies the title of the Window (see example). | |
top? |
| Specifies the top coordinates of the Window. | |
width? |
| Specifies the width of the Window. |
Methods
onClose | ||||||
---|---|---|---|---|---|---|
Fires when the Close button in the title is clicked or when the | ||||||
|
onMove | ||||||
---|---|---|---|---|---|---|
Fires when the Window is dragged. | ||||||
|
onResize | ||||||
---|---|---|---|---|---|---|
Fires when the Window resizes. | ||||||
|
onStageChange | ||||||
---|---|---|---|---|---|---|
Fires when the | ||||||
|