Class SetSerializedProduct
A command that deserializes a product and loads it into the editor.
For details, you can refer to ISetSerializedProductConfig.
{
"type": "design-editor",
"name": "editor",
"params": {
"initial": { ... },
"setSerializedProduct": {
"serializedProduct": "<serializedProduct>"
}
}
}
Properties
Name
Declaration
static Name: "setSerializedProduct" = "setSerializedProduct"
Property Value
Type |
Description |
"setSerializedProduct" |
|
name
Declaration
Property Value
Methods
execute(ISetSerializedProductConfig)
Declaration
function execute(params: ISetSerializedProductConfig)
Parameters
Returns
Type |
Description |
Promise<any> |
|