Back to Website
Show / Hide Table of Contents

Interface IMockupTemplate

A structure holding settings to create overlaying and background mockups from PSD templates or raster images.

Inheritance
IModelComponent
IMockupTemplate
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.

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