@companion-module/base
    Preparing search index...

    Type Alias CompanionGraphicsElementValue<T>

    CompanionGraphicsElementValue: T | ExpressionOrValue<T>

    A value for a button graphics element property.

    Modules may provide either a plain value (e.g. 5, 'hello', true) or an ExpressionOrValue wrapper. A plain value is equivalent to { isExpression: false, value }, which lets modules skip the wrapper boilerplate when defining presets and composite elements.

    This is a duplicate of CompanionPresetValue from the preset definitions, kept here to avoid a dependency on that module.

    Type Parameters

    • T