Narcoleptic's Patch Mangler

    vue-pdfjs

    1.1.1 • Public • Published

    vue-pdfjs

    vue.js pdf viewer

    Install

    npm install --save vue-pdfjs
    

    Example - basic

    <template>
      <vue-pdfjs url="url.pdf" :type="1"></vue-pdfjs>
    </template>
    
    <script>
    import vuePdfjs from 'vue-pdfjs'
    
    export default {
      components: {
        vuePdfjs
      }
    }
    

    API

    Props

    :src String - default: ''

    PDF 路径

    :type Number - default: 1

    PDF显示效果默认简洁,可选参数0 or 1

    :height String - default: '500px'

    PDF容器高度

    Install

    npm i vue-pdfjs

    DownloadsWeekly Downloads

    127

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    3.92 MB

    Total Files

    269

    Last publish

    Collaborators

    • vue-pdfjs