Overview
Instance APIs are methods in the Vue PDF Viewer component that can be called to manipulate the viewer. These methods are exposed using Vue's defineExpose()
and can be accessed in a parent component using ref
. This allows parent components to interact with the Vue PDF Viewer component directly.
Name | Description | Type | Version |
---|---|---|---|
highlightControl | Highlight text controller | highlightControl | ^1.10.0 |
downloadControl | Download controller | downloadControl | ^1.8.0 |
pageControl | Page controller | pageControl | ^1.5.0 |
printControl | Print controller | printControl | ^1.5.0 |
rotateControl | Rotate controller | rotateControl | ^1.5.0 |
searchControl | Search controller | searchControl | ^1.4.0 |
zoomControl | Zoom controller | zoomControl | ^1.9.0 |
If you need additional exposed functions, please feel free to contact us directly or initiate a discussion in our GitHub.