Skip to content

This code is offered as a component to render PDF with text layer in web by using Vue.js and PDF.js.

License

Notifications You must be signed in to change notification settings

Allen7D/vue-pdf-reader

Repository files navigation

vue-pdf-reader

This code is offered as a component to render PDF with text layer in web by using Vue.js and PDF.js.

Setup

To run the demo of project in local web:

$ git clone https://github.com/Alimazing/vue-pdf-reader.git
$ cd vue-pdf-reader
$ npm install 
$ npm run serve // Compiles and hot-reloads for development
//
$ npm run build // Compiles and minifies for production

Document

Methods

Method Description Parameters
setCurrentPage change current page -
onPrevPage turn to the previous page -
onNextPage turn to the next page -
zoomIn zoom in page of PDF -
zoomOut zoom out page of PDF -

Reference

About

This code is offered as a component to render PDF with text layer in web by using Vue.js and PDF.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •