# Angular Window Events

The Kendo UI for Angular Window fires a number of events that enable you to update your application state when users interact with it.

The [`close`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcomponent#close) event fires when the user clicks the **Close** button in the titlebar or presses `Esc` while the Window itself has focus. The [`dragStart`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcomponent#dragstart) and [`dragEnd`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcomponent#dragend) events fire when the user starts and finishes dragging the Window, and the [`resizeStart`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcomponent#resizestart) and [`resizeEnd`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcomponent#resizeend) events fire when the user starts and finishes resizing it. The [`stateChange`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcomponent#statechange) event fires when the user minimizes, maximizes, or restores the Window.

The [`widthChange`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcomponent#widthchange), [`heightChange`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcomponent#heightchange), [`topChange`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcomponent#topchange), and [`leftChange`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcomponent#leftchange) events fire as the user drags or resizes the Window. They provide the updated dimensions and position and support two-way binding of the corresponding properties.

The following example demonstrates all events the Window features. Interact with the Window to see its events in the log.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dialogs/window/events/source.txt)

## Suggested Links

* [Events of the Dialog](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/events)
* [API Reference of the Window](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcomponent)
