Created
February 23, 2017 23:42
-
-
Save lifeinafolder/addc9e0663f7db74e2a42da5a3ae7c93 to your computer and use it in GitHub Desktop.
This file contains 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
const pages = [ | |
{ | |
image: "URL", // a 1x1 grid image | |
cells: [ | |
{ | |
x: 0, | |
y: 0, | |
width: 100% | |
} | |
] | |
}, | |
{ | |
image: "URL", // a hybrid grid image | |
cells: [ | |
{ | |
0: { | |
x: 0, | |
y: 0, | |
width: 50% | |
}, | |
1: { | |
x: 200, | |
y: 0, | |
width: 50% | |
} | |
}, | |
{ | |
0: { | |
x: 0, | |
y: 0, | |
width: 50% | |
}, | |
1: { | |
x: 200, | |
y: 0, | |
width: 25% | |
}, | |
1: { | |
x: 400, | |
y: 0, | |
width: 25% | |
}, | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment