Releases: TaTo30/vue-pdf
Releases · TaTo30/vue-pdf
v1.11.2
This version is a rollback of the previous one with few new changes and options after some concerns about the worker being destroying when the component is hidden with v-if
(see #156 and #151)
- Destroying the component's worker will be optional
auto-destroy
prop was added to allow keeping the previous behaviour.- By default the worker will keep active even if the component is not used anymore.
destroy()
method was added to destroy the worker manually.
v1.11.1
Breaking changes
- Destroy the worker when component has been unmounted [#130]
- If
VuePDF
component is conditionated to render underv-if
directive the worker will be terminated when the condition setsfalse
and the pages rendered won't be rendered again when the condition returns totrue
. To avoid this behavior replacev-if
directive byv-show
or ensure to change thesrc
parameter onusePDF
to reload the worker.
- If
Fixes
v1.11.0
v1.10.0
v1.9.7
v1.9.6
v1.9.5
'Loaded' events has been added in order to have more control about rendering process of page's layers:
@text-loaded
event whentext-layer
has loaded with the textDivs and textContent as a payload@annotation-loaded
event whenannotation-layer
has loaded with annotations list as a payload@xfa-loaded
event whenxfa-layer
has loadedpdfjs-dist
updated to 3.11.174