Allow CSS vars to be specified via style
attribute
#2192
Labels
Type: Enhancement
For any feature request or suggestion that isn't a bug fix
style
attribute
#2192
Steps to Reproduce
In this example…
Expected Behavior
The first line of buttons should appear the same as the second.
Current Behavior
The first line of buttons do not have the CSS variable declarations applied, because CSS variables must be declared via
setProperty
Possible Solution
Use the explicit
style.getPropertyValue
&style.setProperty
APIs instead of treatingstyle
as a POJO to be assigned toThe text was updated successfully, but these errors were encountered: