Back to Website
Show / Hide Table of Contents

Class ProductThemeApplier

Package: @aurigma/design-atoms

Constructors

(constructor)(_colorPreviewService, _colorParser)

Constructs a new instance of the ProductThemeApplier class

Declaration
constructor(_colorPreviewService: IColorPreviewService, _colorParser: IColorParser);
Parameters
Type Name Description
IColorPreviewService _colorPreviewService
IColorParser _colorParser

Methods

apply(product, theme, themeBinding)

Declaration
apply(product: Product, theme?: IProductThemeConfig, themeBinding?: ThemeBinding): Promise<boolean>;
Parameters
Type Name Description
Product product
IFontSettings theme
ThemeBinding themeBinding
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
Name Description
T
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback