PdfJsPasswordResponses
Unofficial
The reasons a document can ask for a password, as passed to the onPassword callback.
Import:
import type { PdfJsPasswordResponses } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface PdfJsPasswordResponsesProperties
| Property | Type | Description | |
|---|---|---|---|
| INCORRECT_PASSWORD | number | The password that was supplied is wrong. | |
| NEED_PASSWORD | number | The document is encrypted and no password was supplied yet. |
Links to this page: