WindowProps
Represents the props of the Window component.
Name | Type | Default | Description |
---|---|---|---|
appendTo? |
|
Defines the string selector to the element to which the Window will be appended. Defaults to its parent element. | |
closeButton? |
|
|
Acccepts a named slot |
dir? |
|
Specifies the direction of the Window content. The supported values are:
| |
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). | |
id? |
|
The id of the window. | |
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? |
|
|
Acccepts a named slot |
minHeight? |
|
Specifies the minimum height of the Window (see example). | |
minimizeButton? |
|
|
Acccepts a named slot |
minWidth? |
|
Specifies the minimum width of the Window (see example). | |
modal? |
|
Specifies if the Window will be modal by rendering an overlay under the component. | |
onClose? |
|
Fires when the Close button in the title is clicked or when the | |
onMove? |
|
Fires when the Window is dragged. | |
onOverlayclick? |
|
Fires when modal overlay of the Window is clicked. | |
onResize? |
|
Fires when the Window resizes. | |
onStagechange? |
|
Fires when the | |
resizable? |
|
Specifies if the Window will be resizable (see example). | |
restoreButton? |
|
|
Acccepts a named slot |
shouldUpdateOnDrag? |
|
Specifies if the Window content will update during resizing. | |
stage? |
|
Controls the state of the Window (see example). The supported values are:
| |
themeColor? |
|
Specifies the theme color of the Dialog. | |
title? |
|
Specifies the title of the Window (see example). | |
titleRender? |
|
Acccepts a named slot | |
top? |
|
Specifies the top coordinates of the Window. | |
width? |
|
Specifies the width of the Window. | |
windowClass? |
| ||
windowStyle? |
|