vue-pdf-embed
vue-pdf-embed copied to clipboard
Expose a function to cancel rendering job in worker
Hello, first of all thank you for your amazing package.
My feature request is because, I use a modal with your pdf viewer, and some times if we are too quickly the worker doesn't stop is previous rendering job. So if we close while its still rendering and re-open immediately after. The package will throw an error and then we need to close and re-open again to make it work.
So maybe it would be nice to have some type of function to call with this.$refs, to cancel the current job rendering manually.
Hi @fabiiomiiguel,
According to the description it looks very similar to this one. This has already been fixed but not released.
Yes maybe it's related, when you release that version, I would let you know if that solves my question.
It's been a while, but it's released in 1.1.5
Feel free to reopen this issue if it's not fixed