Open w5400013936 opened 3 years ago
Does it work right on a computer?
@w5400013936 @sandanat page-scale does not work properly. But @pages-rendered work.
<VuePdfApp :pdf="pdf" theme="dark" @pages-rendered="pagesRendered" />
<script>
methods: {
pagesRendered(vuePdf) {
setTimeout(() => (pdfApp.pdfViewer.currentScaleValue = "0.2"))
}
}
</script>
AppOptions.set("disableHistory", true); Just turn off this feature
Please provide a working example with a bug (git repo, codesandbox, source code at least, etc). It takes a lot of time to set up environment to confirm an issue. So I will resolve issues faster.
Configuration:
Steps to reproduce the problem:
init vue-pdf-app with the prop "pageScale"
What is the expected behavior?
the page should be scaled
What went wrong?
prop pageScale doesn't work
Attachments (screenshots, links, etc)