WindowSettings
Represents the settings for the Window actions when you open a Window through WindowService
. (See example.)
Name | Type | Default | Description |
---|---|---|---|
appendTo? |
|
Defines the container where the Window is inserted. This changes the place in the page hierarchy where the Window appears. | |
autoFocusedElement? |
|
Sets the query selector for the element to focus automatically. | |
content? |
|
Defines the Window | |
cssClass? |
|
Sets custom CSS classes for the Window wrapper element. Accepts any value supported by | |
draggable? |
|
Specifies is the Window is draggable. | |
height? |
|
Sets the height of the Window in pixels. | |
htmlAttributes? |
|
Sets HTML attributes for the Window wrapper element. Accepts string key-value pairs. | |
keepContent? |
|
Set to | |
left? |
|
Sets the left offset of the Window in pixels. | |
messages? |
|
Sets the text of the labels shown in the Window. Use for localization. | |
minHeight? |
|
Sets the minimum height of the Window in pixels. | |
minWidth? |
|
Sets the minimum width of the Window in pixels. | |
preventClose? |
|
Use the | |
resizable? |
|
Specifies if the Window is resizable. | |
state? |
|
Sets the initial state of the Window. | |
themeColor? |
|
Sets the theme color of the Window. | |
title? |
|
Sets the Window | |
titleBarContent? |
|
Defines the content of the title bar. | |
top? |
|
Sets the top offset of the Window in pixels. | |
width? |
|
Sets the width of the Window in pixels. |
Constructors
WindowSettings
()