Hi folks! Is there a way to subscribe to changes in Screen.width? I would like to make by web prototype pseudo responsive but can't find a way of doing this other than scheduling periodic checks via Utils.delay.
You can listen for window size and device orientation changes. You can check out the following code: https://github.com/koenbok/Framer/blob/feature/rotationFix/framer/BackgroundLayer.coffee
If that's too hard to follow I can make you an example tomorrow!
Yep. That's what I would recommend as well Alex.
Something like this should work: http://jrdn.io/3C1M232y3v0g