mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
Merge pull request #8673 from Snuffleupagus/api-pageMode
[api-minor] Add support for PageMode in the API and viewer (issue 8657)
This commit is contained in:
commit
af71ea7a7d
7 changed files with 123 additions and 28 deletions
|
@ -772,6 +772,10 @@ var WorkerMessageHandler = {
|
|||
}
|
||||
);
|
||||
|
||||
handler.on('GetPageMode', function wphSetupGetPageMode(data) {
|
||||
return pdfManager.ensureCatalog('pageMode');
|
||||
});
|
||||
|
||||
handler.on('GetAttachments',
|
||||
function wphSetupGetAttachments(data) {
|
||||
return pdfManager.ensureCatalog('attachments');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue