Skip to content

PdfJsModule

Unofficial

The PDF.js library module type, representing the window.pdfjsLib object.

Import:

import type { PdfJsModule } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface PdfJsModule

Properties

Property Type Description
build string The build identifier of the PDF.js library.
GlobalWorkerOptions GlobalWorkerOptionsType Global worker options for PDF.js.
version string The version string of the PDF.js library.

Methods

Method Returns Description
getDocument(src) PDFDocumentLoadingTask Loads a PDF document from the given source.

Links to this page: