Javascript: PDFJSSettings.librarySourcePath Property
Description
Optional. URL of the PDF.js library script.
Syntax
<string> PDFJSSettings.librarySourcePathExamples
The following example demonstrates pdfjssettings.librarySourcePath in a practical Document Viewer workflow. Specifies the libraray source path.
const pdfjsSettings = {
librarySourcePath: "/lib/pdfjs/pdf.min.js"
};
console.log("library source path:", pdfjsSettings.librarySourcePath);