New to Kendo UI for AngularStart a free 30-day trial

WindowRef

Holds references to the Window instance. Controls Windows opened through WindowService. (See example.)

NameTypeDefaultDescription

close

Function

Allows you to close the Window by using code. When called with no arguments, the result Observable is of type WindowCloseResult. When called with an argument, the result Observable holds the provided value.

content

ComponentRef<any>

Represents a reference to the child component of the Window. Available when you open the Window with component content.

result

Observable<WindowCloseResult>

Emits events when the Window is closed through the Esc key, the Close button of the title bar, or by calling the close method. When the Window is closed with the title bar button, Esc, or by calling close with no arguments, the result is of type WindowCloseResult. When close is called with an argument, the result is the passed argument.

window

ComponentRef<WindowComponent>

Represents a reference to the Window instance.

Constructors

WindowRef

()

In this article
ConstructorsWindowRef
Not finding the help you need?
Contact Support