selectItems Method

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 >