Fix: rest of PDF link fix

This commit is contained in:
shamoon
2026-09-25 20:08:36 -07:00
parent d4429c3cc7
commit b3bf220f56
4 changed files with 44 additions and 2 deletions
@@ -25,10 +25,20 @@ export class PDFFindController {
onIsPageVisible?: () => boolean
}
export const LinkTarget = {
NONE: 0,
SELF: 1,
BLANK: 2,
PARENT: 3,
TOP: 4,
}
export class PDFLinkService {
private document?: unknown
private viewer?: unknown
constructor(readonly options: Record<string, unknown> = {}) {}
setDocument(document: unknown): void {
this.document = document
}