Skip to main content

Value Type

Along with built-in JavaScript data types like strings and numbers, Loopic defines custom value types for certain properties.

Currently, these custom types are used primarily for color-related properties. For instance, to set a gradient fill color for an element, a specific object interface must be used.

type ValueType = string | number | Color;