I can't figure out how to change the name of a layer I've created. Not the layer.name property, but the actual name of the layer.
For example, I would like this to print out 40:
test = new Layer ({
height:40,width:40
})
//replace "test" with "foo," somehow
console.log(foo.height)
test.name="foo" doesn't work as the commented line. If this name-changing can't be done in framer, is there a particular reason I'm missing that the feature doesn't exist?