Interface WindowState

Represents the state of a window.

interface WindowState {
    active: boolean;
    focused: boolean;
}

Properties

Properties

active: boolean

Whether the window has been interacted with recently. This will change immediately on activity, or after a short time of user inactivity.

focused: boolean

Whether the current window is focused.