WindowSettings
The settings for the Window actions when the Window is opened through WindowService
(see example).
Name | Type | Default | Description |
---|---|---|---|
appendTo? |
|
Defines the container in which the Window will be inserted. Specifying this option changes the place in the page hierarchy where the Window will be inserted. | |
autoFocusedElement? |
|
Sets the focused element query selector. | |
content? |
|
Defines the content of the Window. | |
cssClass? |
|
Sets the custom CSS classes that will be rendered on the Window wrapper element. Supports the union type of values that NgClass accepts ngClass. | |
draggable? |
|
Specifies is the Window is draggable. | |
height? |
|
Specifies the height of the Window. | |
htmlAttributes? |
|
Sets the HTML attributes of the Window wrapper element. The property accepts string key-value based pairs. | |
keepContent? |
|
Specifies if the content of the Window is persisted in the DOM when the Window is minimized. | |
left? |
|
Specifies the left offset of the Window. | |
messages? |
|
Defines the text of the labels that are shown within the Window. Used primarily for localization. | |
minHeight? |
|
Specifies the minimum height of the Window. | |
minWidth? |
|
Specifies the minimum width of the Window. | |
preventClose? |
|
Defines a predicate that verifies if the closing of the Window should be prevented.
It applies to clicking the Close button of the title bar, pressing the Esc key or calling the | |
resizable? |
|
Specifies if the Window is resizable. | |
state? |
|
Specifies the initial state of the Window. | |
title? |
|
Sets the title of the Window. | |
titleBarContent? |
|
Defines the content of the title bar. | |
top? |
|
Specifies the top offset of the Window. | |
width? |
|
Specifies the width of the Window. |
Constructors
WindowSettings
()