Interface IMockupTemplate
A structure holding settings to create overlaying and background mockups from PSD templates or raster images.
Package: @aurigma/design-editor-iframe
Examples
CustomersCanvas.IframeApi.loadEditor(
iframe,
{
surfaces: [{
mockup: {
up: "stamp",
down: "envelope"
},
previewMockups: [{ down: "envelope" }],
printAreas: [{
designFile: "envelopeDesign"
}]
}]
}
);
Properties
down
A background mockup: the mockup lays below the design template. This property represents a file name without an extension.
Declaration
down?: string;
Property Value
| Type | Description |
|---|---|
| string | A background mockup: the mockup lays below the design template. This property represents a file name without an extension. |
up
An overlaying mockup: the mockup lays above the design template. This property represents a file name without an extension.
Declaration
up?: string;
Property Value
| Type | Description |
|---|---|
| string | An overlaying mockup: the mockup lays above the design template. This property represents a file name without an extension. |