loadEditorByQueryString

Callable

  • loadEditorByQueryString(editorFrame: HTMLIFrameElement, queryString: string, onFirstLoad?: function ) : Promise < Editor >
  • Loads the web-to-print editor through HTTP GET request.

    Parameters

    • editorFrame: HTMLIFrameElement

      The iframe element to place the editor to.

    • queryString: string

      Arguments configuring the editor. See the Old Query-string API topic for details.

    • Optional onFirstLoad: function

      A function that handles the first product launch. See the Product Loading Screen topic for details.

        • ( ) : void
        • Returns void

    Returns Promise < Editor >