Class ProductThemeApplier
Constructors
(constructor)(_colorPreviewService, _colorParser)
Constructs a new instance of the ProductThemeApplier class
Declaration
constructor(_colorPreviewService: IColorPreviewService, _colorParser: IColorParser);
Parameters
Methods
apply(product, theme, themeBinding)
Declaration
apply(product: Product, theme?: IProductThemeConfig, themeBinding?: ThemeBinding): Promise<boolean>;
Parameters
Returns
| Type |
Description |
| Promise<boolean> |
|
applyToItem(item, theme, themeBinding)
Declaration
applyToItem<T extends Item>(item: T, theme?: IProductThemeConfig, themeBinding?: ThemeBinding): Promise<boolean>;
Parameters
| Type |
Name |
Description |
| T |
item |
|
| IFontSettings |
theme |
|
| ThemeBinding |
themeBinding |
|
Returns
| Type |
Description |
| Promise<boolean> |
|
Type Parameters