TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

Command: updateItems

Updates design elements.


  • items - a list of design elements to be updated. This command takes a <string, object> structure. Here, string is the design element name. The object represents key-value pairs of item properties (so-called itemData). For details, you can refer to the description of ItemsData.


    "name": "design-editor",
    "type": "design-editor",
    "params": {
        "initial": { ... },
        "updateItems": {
            "items": {
                "header": {
                    "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit ...",
                    "font": {
                        "{{#new BaseTextItem.FontSettings}}": ["ArialMT", 36]