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)"]]
}
]
}
}
}
}
};