Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Phoenix 2.6 – a macOS window and app manager scriptable with JavaScript. Parent comment
That said, Phoenix has an event for when the screens change, you can use it to react, enumerate the new screens, etc. Something like:
Event.on('screensDidChange', () => { const sizes = Screen.all().map(s => s.flippedVisibleFrame()); })
Hope that helps!
There are no comments on this comment yet.
That said, Phoenix has an event for when the screens change, you can use it to react, enumerate the new screens, etc. Something like:
Event.on('screensDidChange', () => { const sizes = Screen.all().map(s => s.flippedVisibleFrame()); })
Hope that helps!