GetCssVariable Op

GetCssVariable

gets current value of CSS Variable



Edit Documentation

Full Name
  • Ops.Html.GetCssVariable
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorTest Patches


 

Example Patch Get Css Variable Example

click the ice cream to randomly assign a color to the background color variable.
To check the HEX value of the randomly assigned color, click the button below the ice cream.

You can also resize the canvas/browser window to assign a different font size and see the font size variable value in the sidebar. It is calculated according to the width of the canvas.

Open In Editor

INPUT PORTS


Update (Trigger)
Var Name (String)

OUTPUT PORTS


Result (String)

Patches using GetCssVariable

  • Examples
  • Public
  • My Patches