Skip to content

Latest commit

 

History

History
74 lines (68 loc) · 1.93 KB

File metadata and controls

74 lines (68 loc) · 1.93 KB

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