Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- base = new Layer
- backgroundColor: null
- names = ["Mary", "Steve", "Anne"]
- for i in [0...3]
- rows = new Layer
- html: names[i]
- parent: base
- y: 45 * i
- height: 44
- name: "layer" + (i+1)
- base.children[0].style =
- background: "blue"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement