You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.

selectItems Method

Applies to: Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · Archived documentation

Callable

  • selectItems(items: Item [] ) : Promise < void >
  • Selects the specified design elements on the current surface.

    You can call getSelectedItems to access the items.

    example
    editor.selectItems([
        {        
            "name": "Contact"
        },
        {
            "name": "Address"
        }
    ]);

    Parameters

    • items: Item []

      An array of objects that contain design element names.

    Returns Promise < void >