Skip to content

loadPdfJs

loadPdfJs(): Promise<any>

Defined in: obsidian.d.ts:2240

Load PDF.js and return a promise to the global pdfjsLib object. Can also use window.pdfjsLib after this promise resolves to get the same reference.

Returns

Promise<any>

See

Official PDF.js documentation