getUnchangedItems

Callable

  • Returns a list of layers that have not been personalized by the user. These are the items (texts and placeholders) that are not changed when the product editing is finished.

    example
    editor.getUnchangedItems()
        // If unchanged items were obtained successfully.
        .then(function (unchangedItems) {
    
            if (unchangedItems.items.length > 0) {
                unchangedItems.items.forEach(function (logItems) {
                    console.log(logItems);
                });
            }
            else
            {
                console.log("There are no unchanged items");
            }
    
        });
    

    Returns Promise < IUnchangedItems >