structured-render - v1.2.0
    Preparing search index...

    Function printPdf

    • Render to a PDF and trigger the browser's print feature to print that PDF. Only works in a browser, not Node.js.

      Parameters

      • renderInput: Readonly<RenderInput>
      • params: Readonly<
            { fileName: string } & PartialWithUndefined<{ options: RenderOptions }>,
        >

      Returns Promise<void>