Batch update css variables on an element. This updates style in a destructive manner and will override any other style elements.
dom.addVariables(element, { '--height': "200px", '--mycssvariable': '20px'}); Copy
dom.addVariables(element, { '--height': "200px", '--mycssvariable': '20px'});
Batch update css variables on an element. This updates style in a destructive manner and will override any other style elements.