@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
28 lines (27 loc) • 1.21 kB
TypeScript
import { Surface } from "@aurigma/design-atoms-model/Product/Surface";
import { Collection } from "@aurigma/design-atoms-model/Collection";
import { Container } from "@aurigma/design-atoms-model/Product/Container";
import { WatermarkConfig } from "@aurigma/design-atoms-model/Configuration/WatermarkConfig";
import { Service } from "../Services/Service";
export declare class WatermarkHandler {
private readonly _productParser;
private _watermarkConfig;
private _surface;
private _service;
private _watermarkCollectionChangedEvent;
private _watermarkContainers;
constructor(watermarkConfig: WatermarkConfig, service: Service);
get surface(): Surface;
set surface(value: Surface);
get watermarkConfig(): WatermarkConfig;
set watermarkConfig(value: WatermarkConfig);
private _onSurfacePropertyChanged;
get watermarkContainers(): Collection<Container>;
private _setWatermarkContainers;
add_watermarkCollectionChanged(h: any): void;
remove_watermarkCollectionChanged(h: any): void;
private _clearWatermarkContainer;
private _updateWatermark;
private _requestWatermarkItemsId;
private _requestWatermarkItems;
}