I'm new to framer and coffeescript so please forgive my basic question. This seems like a common problem but I haven't been able to find a solution yet.
I've imported my sketch file but I can't figure out how to put it into a component that responds to the device detection command for scaling the width and height.
I'm not looking for a true responsive design, just something that can scale for different devices.
Any help is appreciated. Thanks.
Sketch layers have an absolute size so they can't be responsive. You could wrap all layers inside a layer and change the scale of that layer to fit the screen size. You can get the screen size by using Screen.width and Screen.height
Let me know if you have any questions