Companion

external object Companion(source)

Functions

Link copied to clipboard

Gets a list of instances of Window for all available windows.

Link copied to clipboard
external fun getByLabel(label: String): Promise<Window?>

Gets the Window associated with the given label.

Link copied to clipboard
external fun getCurrent(): Window

Get an instance of Window for the current window.

Link copied to clipboard
external fun getFocusedWindow(): Promise<Window?>

Gets the focused window.