Exported symbols
CanvasToSvgError- A canvas-to-SVG adapter threw or returned an invalid result.CompatWorker- Stateful, Promise-like compatibility chain.Html2RealPdf- Reusable renderer backed by one Worker or main-thread WASM context.Html2RealPdfError- Base error carrying a machine-readable wrapper error code.InvalidSourceError- The source is not a string, mounted element, or non-null ref-like object.PdfDocument- Successful PDF output returned by the renderer.PdfPreview- Interactive canvas preview created and owned by aPdfDocument.ResourceLoadError- An image, stylesheet, canvas, or SVG resource could not be materialized.UnsupportedCompatibilityFeatureError- A requested html2pdf.js stage belongs to its unsupported raster pipeline.UnsupportedCssError- Authored CSS or SVG cannot satisfy the selected strictness policy.UnsupportedEnvironmentError- Rendering was requested where browser DOM APIs are unavailable.WasmRenderError- The WASM bridge or native renderer failed.