Skip to content

PDFDocumentLoadingTask

Unofficial

A task representing an ongoing PDF document loading operation.

Import:

import type { PDFDocumentLoadingTask } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface PDFDocumentLoadingTask

Properties

PropertyTypeDescription
promisePromise<PDFDocumentProxy>Promise that resolves when the document is loaded.

Methods

MethodReturnsDescription
destroy()voidDestroys the loading task.
onPassword(updateCallback, reason)voidCallback for password-protected documents.
onProgress(progressData)voidCallback for loading progress updates.

Links to this page: