1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 17:48:07 +02:00

Merge pull request #12429 from calixteman/collect_js

[api-minor] Add the possibility to collect Javascript actions
This commit is contained in:
Tim van der Meij 2020-10-14 23:27:47 +02:00 committed by GitHub
commit a373137304
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 383 additions and 3 deletions

View file

@ -516,6 +516,10 @@ class WorkerMessageHandler {
});
});
handler.on("GetFieldObjects", function (data) {
return pdfManager.ensureDoc("fieldObjects");
});
handler.on("SaveDocument", function ({
numPages,
annotationStorage,