Back to Website
Show / Hide Table of Contents

Interface IBaseSurfacesDefinition

A structure holding basic features of multipage templates.

Inheritance
IModelComponent
IBaseSurfaceDefinition
IBaseSurfacesDefinition
Package: @aurigma/design-editor-iframe
Examples
const productDefinition = {
   surfaces: {
       // Get surfaces from a folder containing three PSD templates.
       designFolder: "BookCover",
       // Name the surfaces.
       names: ["Front cover", "Endpapers", "Back cover"]
   }
};

Properties

names

An array of surface names. The number of array elements must match the number of surfaces. Otherwise, the default page captions appear in the Bottom toolbar.

Declaration
names?: string[];
Property Value
Type Description
string[]

An array of surface names. The number of array elements must match the number of surfaces. Otherwise, the default page captions appear in the Bottom toolbar.

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