Want to access component's style system value in multiple paces of component's html



Hi I have a use case where I want to use content author's choices made using style systems (it has multi-selection option for different areas) in different parts of html. Not sure how to do it.


Out Style System dropdown example:

Screen Shot 2020-09-18 at 12.53.07 PM.png
Where I want to use it in html:
Screen Shot 2020-09-18 at 12.49.22 PM.png
I want to able to get the values and use it in html something like this, ignore the syntax 🙂 just want to express how I want to access it.
Screen Shot 2020-09-18 at 1.00.41 PM.png


Accepted Solutions (1)

Accepted Solutions (1)




With OOTB style system you can't do that. and I don't see any need here as well, if you have classes on parent DOM element then you can apply style to particular child element as well using parent selector.

But if you want you have to get those values in inside your model and apply to child element using htl



Answers (0)