Back to Website
Show / Hide Table of Contents

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>"
    }
  }
}
Package: ui-framework

Properties

Name

Declaration
static Name: "setSerializedProduct" = "setSerializedProduct"
Property Value
Type Description
"setSerializedProduct"

name

Declaration
string name
Property Value
Type Description
string

Methods

execute(ISetSerializedProductConfig)

Executes this command.

Declaration
function execute(params: ISetSerializedProductConfig)
Parameters
Type Name Description
ISetSerializedProductConfig params

Parameters for the command.

Returns
Type Description
Promise<any>
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback