Skip to content

Instantly share code, notes, and snippets.

@nicebarbarian
Created October 12, 2014 14:03
Show Gist options
  • Save nicebarbarian/7a6edab73a54d063dcb1 to your computer and use it in GitHub Desktop.
Save nicebarbarian/7a6edab73a54d063dcb1 to your computer and use it in GitHub Desktop.
framer.js: collection list
rows = 10
gutter = 8
width = 300
height = 30
for rowIndex in [0..rows-1]
cellLayer = new Layer
width: width
height: height
y: rowIndex * (height + gutter)
Utils.labelLayer cellLayer, rowIndex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment