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

What is Framer? Join the Community
Return to index
Andy Jakubowski
Posted Apr 12 - Read on Facebook

Hey folks, do you know if it’s possible to set some default properties for TextLayers? Framer.Defaults.TextLayer doesn’t seem to be working...

The point is to avoid repeating certain things like setting the font family over and over.



Jordan Robert Dobson

Yes this is definitely needed.

Sigurd Tapio Mannsåker

You can make an object containing your defaults, and then do:

text = new TextLayer _.defaults myDefaults,
nondefaultoroperty: foo

Jordan Robert Dobson

I added an Issue. We'll see if it gets resolved or not:

Read the entire post on Facebook