Companion

external object Companion(source)

Functions

Link copied to clipboard
external fun clearPersistedState(name: String)

Clears the saved state for a window with the given name. This removes all persisted window bounds, display mode, and work area information that was previously saved when windowStatePersistence was enabled.

Link copied to clipboard
external fun fromId(id: Double): BaseWindow?

The window with the given id.

Link copied to clipboard

An array of all opened browser windows.

Link copied to clipboard
external fun getFocusedWindow(): BaseWindow?

The window that is focused in this application, otherwise returns null.