pdf-annotate-vue
Annotation layer for pdf.js in vue
994
19
| Install | |
|---|---|
npm install pdf-annotate-vue |
|
| Latest Version: | 1.0.2 |
| License: | MIT |
| Last Updated: | Nov 2, 2019 |
| Links: | GitHub · npm |
Maintainer: liangshihua
Install
npm install pdf-annotate-vue -S
or
yarn add pdf-annotate-vue -S
Example
<template>
<div id="app">
pdf path: {{pdf}}
<pdfAnnotate :src="pdf" :toolbar="toolbar" :commentWrapper="commentWrapper"></pdfAnnotate>
</div>
</template>
<script>
import pdfAnnotate from 'pdf-annotate-vue'
import "pdf-annotate-vue/src/css/toolbar.css";
import "pdf-annotate-vue/src/css/pdf_viewer.css";
export default {
name: 'home',
components: {
pdfAnnotate
},
data(){
return {
pdf: './static/output.pdf',
toolbar: true,
commentWrapper: true,
}
}
}
</script>
Related Packages
@xtctwins/tctwins-pdf-core
Reusable PDF core with Vue 3 viewer, tile rendering, annotations (measure/rectan...
771
Version History
| Version | Released | License |
|---|---|---|
| 1.0.2 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT |