Sets a css variable to an element.
dom.setCssVariable( myElement, '--chapter-height', '100px'); Copy
dom.setCssVariable( myElement, '--chapter-height', '100px');
The element to set the css variable.
The name of the css variable. Should start with --. Exampe: --height
The value to set.
Sets a css variable to an element.