Trevixal API
Preparing search index...
@trevixal/extension-export
loadPdfJs
Function loadPdfJs
loadPdfJs
(
url
?:
string
,
worker
?:
string
)
:
Promise
<
PdfJsLike
>
Load PDF.js from a CDN, or any ESM URL, the first time a PDF is opened.
Parameters
url
:
string
= PDFJS_CDN_URL
worker
:
string
= PDFJS_WORKER_URL
Returns
Promise
<
PdfJsLike
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Trevixal API
Loading...
Load PDF.js from a CDN, or any ESM URL, the first time a PDF is opened.