Back to Website
Show / Hide Table of Contents

Interface IPerSurfaceConfiguration

A configuration of widgets, that is defined for separate surfaces.

Package: @aurigma/design-editor-iframe
Remarks

See the Per-surface configuration topic for more details.

Examples
product: {
   surfaces: [{
           name: "surface1",
           printAreas: [{ designFile: "Postcard_side1" }]
       },
       {
           name: "surface2",
           printAreas: [{ designFile: "Postcard_side2" }]
       }
   ]
};

config: {
   perSurfaceConfiguration: {
       "surface2": {
           widgets: {
               ObjectInspector: {
                   bgItemEnabled: false
               },
               ColorPicker: {
                   showPaletteOnly: false,
                   sections: [
                       {
                           type: "PaletteSection",
                           palette: [["rgb(0,0,0)", "rgb(255,255,255)"]]
                       }
                   ]
               }
           }
       }
   }
};
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