@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
17 lines (16 loc) • 620 B
TypeScript
export interface IPreviewOptions {
/**
* Index of printArea to get preview of. If set, the size of the resulting preview
* will be equal to the bounds of the corresponding printArea.
* */
printAreaIndex?: number;
/**
* Array of container IDs to exclude from the preview.
* */
ignoreContainers?: string[];
/**
* Indicates whether mockup should be present on preview or not. If set, the size of the resulting preview
* will be equal to the size of the whole surface, regardless of the printAreaIndex property.
* */
includeMockup?: boolean;
}