This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Lorenzo Ferrante
Posted Jul 27 - Read on Facebook

Hi, I have a layer and I add text using myLayer.html. But what I have to do if I want to add some more text?


Koen Bok

myLayer.html += "Text to add"

Lorenzo Ferrante

Perfect, thanks.

Koen Bok

Also look into CoffeeScripts awesome templating features:

stringA = "Hello"
stringB = "World"

myLayer.html = "#{stringA} #{stringB}"

Lorenzo Ferrante

Yup, that's very useful! Thanks

Read the entire post on Facebook