Closed mparizeau-pdftron closed 5 years ago
For example:
const viewer = new PDFTron.WebViewer({...}); viewerElement.addEventListener('documentLoaded', () => { viewer.setFitMode('FitPage'); });
This doesn't work because the functions for fit modes aren't implemented on the instance setup in index.js.
We had a discussion internally and this issue is fixed by changing webviewer.js
For example:
This doesn't work because the functions for fit modes aren't implemented on the instance setup in index.js.