Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not Framer.Device
- # From framer.generated.js
- Framer.Defaults.DeviceView = {"deviceScale":"fit", "selectedHand":"", "deviceType":"google-nexus-5x","contentScale":1,"orientation":0};
- Framer.Defaults.DeviceComponent =
- {"deviceScale":"fit", "selectedHand":"", "deviceType":"google-nexus-5x","contentScale":1,"orientation":0};
- Framer.Device = new Framer.DeviceView();
- Framer.Device.setupContext();
- # End from framer.generated.js
- MyModule = require("myModule")
- MyModule.myFunction()
- bkgLayer = new BackgroundLayer
- backgroundColor: "black"
- layerA = new Layer
- x: 0
- y: 100
- width: 500
- height: 50
- borderRadius: 8
- backgroundColor: "#28affa"
- layerA.on Events.Click, ->
- print Framer.Device.screen.width
Add Comment
Please, Sign In to add comment