Skip to content

Documentation / @andrew_l/toolkit / cssVariable

Function: cssVariable() ​

cssVariable(container): (name) => string

Create a getter of css variable for container

Parameters ​

container ​

HTMLElement

Returns ​

(name): string

Parameters ​

name ​

string

Returns ​

string