mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Also enable renderInteractiveForms
by default in the viewer components (PR 12201 follow-up)
Given that `renderInteractiveForms` is now enabled by default in "full" viewer, it seems reasonable to enable it by default in the viewer components as well. Especially considering that it's simple to disable, when creating the affected components, for anyone implementing their own viewer.
This commit is contained in:
parent
37c5660394
commit
a8de614a9f
5 changed files with 17 additions and 8 deletions
|
@ -1500,7 +1500,10 @@ class AnnotationLayer {
|
|||
linkService: parameters.linkService,
|
||||
downloadManager: parameters.downloadManager,
|
||||
imageResourcesPath: parameters.imageResourcesPath || "",
|
||||
renderInteractiveForms: parameters.renderInteractiveForms || false,
|
||||
renderInteractiveForms:
|
||||
typeof parameters.renderInteractiveForms === "boolean"
|
||||
? parameters.renderInteractiveForms
|
||||
: true,
|
||||
svgFactory: new DOMSVGFactory(),
|
||||
annotationStorage:
|
||||
parameters.annotationStorage || new AnnotationStorage(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue