WindowComponent
Represents the Kendo UI Window component for Angular.
Selector
kendo-window
Export Name
Accessible in templates as #kendoWindowInstance="kendoWindow"
Inputs
Name | Type | Default | Description |
---|---|---|---|
autoFocusedElement |
|
Specifies the query selector used to set the initial focus (see examples). | |
draggable |
|
|
Specifies whether the user will be able to drag the component. |
height |
|
Specifies the height of the Window.
The | |
keepContent |
|
|
Specifies if the content of the component is persisted in the DOM when minimized. |
left |
|
Specifies the initial left offset of the Window. Numeric values are treated as pixels. | |
minHeight |
|
|
Specifies the minimum height of the Window.
The |
minWidth |
|
|
Specifies the minimum width of the component.
The |
resizable |
|
|
Specifies whether the user will be able to resize the component. |
state |
|
Specifies the initial state of the component.
If not specified, the value is set to The possible values are:
| |
themeColor |
|
The Window allows you to specify predefined theme colors. The theme color will be applied as a background and border color to the titlebar while also amending the text color accordingly. The possible values are:
| |
title |
|
Specifies the text that is rendered in the title bar. | |
top |
|
Specifies the initial top offset of the Window.
The | |
width |
|
Specifies the width of the Window.
The |
Events
Name | Type | Description |
---|---|---|
close |
|
Fires when the user closes the Window. |
dragEnd |
|
Fires when the Window was moved by the user. |
dragStart |
|
Fires when the user starts to move the Window. |
heightChange |
|
Fires when the |
leftChange |
|
Fires when the |
resizeEnd |
|
Fires when the Window was resized by the user. |
resizeStart |
|
Fires when the user starts to resize the Window. |
stateChange |
|
Fires when the |
topChange |
|
Fires when the |
widthChange |
|
Fires when the |
Methods
bringToFront |
---|
Brings the current Window component on top of other Window components on the page. |
focus |
---|
Focuses the wrapper of the Window component. |
setDimension | |||||||||
---|---|---|---|---|---|---|---|---|---|
Manually updates the | |||||||||
|
setOffset | |||||||||
---|---|---|---|---|---|---|---|---|---|
Manually updates the | |||||||||
|