Guys, need your help.How to define the font-family in Framer?
Shouldn’t it be fontFamily (camelCase)?
I usually do:
object.style =----"property": "value"----"property": "value"
Which let's use the exact same property terms as in CSS, because that's essentially what you're injecting with the code in your picture. And as an added bonus it's easier to read/maintain. :)
Yeah it's either:.style["font-family"] = ....style.fontFamily = ...