White paper: Templates in web-to-print.  Free download

openGalleryForBackground Method

Callable

  • openGalleryForBackground(params?: object ) : Promise < void >
  • Opens the Asset Manager to select an image for the background layer.

    example
    let editor = await CustomersCanvas.IframeApi.loadEditor(iframe, product, config);
    editor.openGalleryForBackground({ tabs: ["Backgrounds"] });
    

    Parameters

    • Optional params: object
      • Optional tabs: string []

        An array of tabs available for selecting images.

    Returns Promise < void >