changeColor
On this page
@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
Parameter | Type | Description |
---|---|---|
colorGroupId | string | The color group to change. |
colorId | string | The color to change to. |
Promise<{ model: IApiModelConfig; }>
Promise that resolves to an object with the model
property containing the updated model configuration.