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 is a website building & hosting documentation for Clojure/Script libraries
× close