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

Function

Parameters

name: string

Returns

string