This is an old documentation. Go to the latest Customer's Canvas docs

openGalleryForBackground Method


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

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


    • Optional params: object

      Parameters defining the appearance of the Asset Manager.

      • Optional tabs: string []

        An array of tabs available for selecting images.

    Returns Promise < void >