pdf-annotate-vue

1.0.2 • Public • Published

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>

Package Sidebar

Install

npm i pdf-annotate-vue

Weekly Downloads

41

Version

1.0.2

License

MIT

Unpacked Size

1.37 MB

Total Files

292

Last publish

Collaborators

  • liangshihua