How does TypeScript change the style of pseudo elements?

I want to change the content attribute of an element"s:: before. How can I do this in TypeScript?
Big God solution

Mar.31,2021

suggest content:attr (data-val)

manipulate the value of data-val on dom


ts manipulates className and overrides the css attribute through the weight of class

Menu