How to set values to dynamic values?

hello all,
is it possible for us to do DOM manipulation/change the style of other elements through dynamic values.
temporarily I do DOM manipulation, via embed html component
Thanks all

Hi! Not at the moment; styles cannot be linked to dynamic values. But for now you could sneak it in; you can add a style html attribute to your DOM element, and right-click and select “dynamic value”, and return a style dictionary like {fontWeight: $ctx.product.isPrimary ? "bold" : "normal"} from your expression