This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buttons = [] | |
layers = [] | |
for i in [0..10] | |
buttons[i] = new Layer | |
width: 200, height: 200 | |
backgroundColor: "tomato" | |
x: Align.right() | |
opacity: .7 | |
y: i * 205 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Device = new Layer | |
image: "http://resources.framerjs.com/static/DeviceResources/apple-iphone-6s-gold.png" | |
width: 874, height: 1792 | |
screenObject = Screen | |
Screen = new Layer | |
width: 750, height: 1334 | |
backgroundColor: "black" | |
parent: Device | |
clip: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.body.style.cursor = "auto" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.body.style.cursor = "auto" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string = "Connection with your friends" | |
cursor = new Layer | |
backgroundColor: "blue" | |
width: 2 | |
height: 40 | |
text = new Layer | |
width: 1, height: 100 | |
backgroundColor: "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Положить файл в папку вашего проекта (Untitled.framer) | |
# http://antonkartashov.ru/framer/photos.json | |
data = JSON.parse Utils.domLoadDataSync "file.json" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
screens = new ScrollComponent | |
width: 360 | |
height: 640 | |
x: 0 | |
y: 0 | |
scrollVertical: false | |
backgroundColor: "black" | |
scrnCont = new ScrollComponent | |
backgroundColor: "blue" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://share.framerjs.com/ie30ezuuf9jd/ | |
new BackgroundLayer | |
backgroundColor: "#aaa" | |
spinner = new Layer | |
width: 20 | |
height: 100 | |
backgroundColor: "blue" | |
borderRadius: "50%" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://share.framerjs.com/idckyu31ficw/ | |
new BackgroundLayer | |
arrow = new Layer | |
width: 20, height: 700 | |
backgroundColor: "tomato" | |
borderRadius: 10 | |
circle = new Layer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://share.framerjs.com/jb2h1vh54qvn/ | |
pagesA = new PageComponent | |
size: Screen.size | |
scrollVertical: false | |
page = [] | |
dots = [] | |
for i in [0..10] | |
dots[i] = new Layer |