@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
13 lines (12 loc) • 690 B
TypeScript
import { BaseItem } from "@aurigma/design-atoms-model";
import { IItemsComparer } from "./Interfaces/IItemsComparer";
export declare class TextsWorkaroundItemsComparer implements IItemsComparer {
private readonly _sourceItemsToCompare;
constructor();
itemsEqual(source: BaseItem, destination: BaseItem): boolean;
/**Text items and groups from source surface require comparison with its own clones,
* but not with ones from PreviewCanvas.
* This is due to sourceRectangle of the text item that is on PreviewCanvas
* becomes slightly different from the source item after server-side update is performed. */
private _requiresSpecialComparison;
}