getWindow()

Class: Panel. Method inherited from UIComponent.

Description:

Gets a top-most Window component containing this component.

Parameters:

No parameters

Returns:

Returns a Window that contains this component, or undefined if no Window contain this component.

Type: Window | undefined