Represents the state of a window.
Represents the state of a window.
(active? window-state)
Whether the window has been interacted with recently. This will change immediately on activity, or after a short time of user inactivity.
Returns: boolean
Whether the window has been interacted with recently. This will change immediately on activity, or after a short time of user inactivity. **Returns:** `boolean`
(focused? window-state)
Whether the current window is focused.
Returns: boolean
Whether the current window is focused. **Returns:** `boolean`
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |