Skip to main content

ProductThemeApplier

Classes

ProductThemeApplier

Constructors

Constructor
new ProductThemeApplier(colorPreviewService, colorParser): ProductThemeApplier;
Parameters
ParameterType
colorPreviewServiceIColorPreviewService
colorParserIColorParser
Returns

ProductThemeApplier

Methods

apply()
apply(
product,
theme?,
themeBinding?): Promise<boolean>;
Parameters
ParameterType
productProduct
theme?IProductThemeConfig
themeBinding?ThemeBinding
Returns

Promise<boolean>

applyToItem()
applyToItem<T>(
item,
theme?,
themeBinding?): Promise<boolean>;
Type Parameters
Type Parameter
T extends Item
Parameters
ParameterType
itemT
theme?IProductThemeConfig
themeBinding?ThemeBinding
Returns

Promise<boolean>

Was this page helpful?