Answer the question
In order to leave comments, you need to log in
How to play around with an expression in an angular template?
You need to get a binding to the generated model. Here are the types
.widget.pop-up .line.text#text{{::count}} {
color: {{textElements["text1"].color}};
font-family: {{textElements["text1"].fontFamily}};
font-size: {{textElements["text1"].fontSize}}px;
padding-bottom: {{textElements["text1"].paddingBottom}}px;
text-align: {{textElements["text1"].textAlign}};
}
.widget.pop-up .line.text#text{{::count}} {
color: {{textElements["text2"].color}};
font-family: {{textElements["text2"].fontFamily}};
font-size: {{textElements["text2"].fontSize}}px;
padding-bottom: {{textElements["text2"].paddingBottom}}px;
text-align: {{textElements["text2"].textAlign}};
}
color: {{textElements["text"::count].color}};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question