changeColor

@vulp/js-api > VulpApiModel > changeColor

VulpApiModel.changeColor() method

Selects the color of a color group.

Signature:

changeColor(colorGroupId: string, colorId: string): Promise<{
        model: IApiModelConfig;
    }>;

Parameters

ParameterTypeDescription
colorGroupIdstringThe color group to change.
colorIdstringThe color to change to.

Returns:

Promise<{ model: IApiModelConfig; }>

Promise that resolves to an object with the model property containing the updated model configuration.