by slowhands · 8y ago · 0 comments
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!