0.1.29 • Published 10 months ago

pdf-view-react v0.1.29

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

React Pdf View

运行demo

npm run start

打包

npm run build

使用

import PdfViewer from 'pdf-view-react';
import 'pdf-view-react/es/index.css';
import * as mem from 'mpdf.js';

<PdfViewer  file={'https://cmimg.maycur.com/front-static-resource/test/multiple-page.pdf'} mem={mem}  canDownload={true} canPrint={true} canOpen={true} />

配置参数

参数说明类型示例默认值
filepdf文件url[]
memmpdf.js变量object-
wasmUrlwasm资源URLstring-
secretstring
digeststring
canDownload是否可下载booleantrue
canPrint是否可打印(打印合脊那边客户看不懂新打开页的意思)booleantrue
canOpen是否可打开新文档booleanfalse
0.1.29

10 months ago

0.1.28

2 years ago

0.1.15

2 years ago

0.1.16

2 years ago

0.1.17

2 years ago

0.1.18

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.9

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.27

2 years ago

0.1.26

2 years ago

0.1.25

2 years ago

0.1.24

2 years ago

0.1.23

2 years ago

0.1.22

2 years ago

0.1.21

2 years ago