0.0.2 • Published 8 months ago

mupdf-view v0.0.2

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

mupdf-view

vue使用

npm 安装

npm i mupdf-view -S

在 main.js 中写入以下内容:

import mupdfView from "mupdf-view";
import 'mupdf-view/lib/viewer.css'



Vue.use(mupdfView);

在 静态页 index.html 中声明dir为ltr

dir="ltr"

配置参数

参数说明类型示例默认值
filepdf文件url
canDownload是否可下载booleanfalse
canPrint是否可打印booleanfalse
canOpen是否可打开新文档booleanfalse
0.0.1

8 months ago

0.0.2

8 months ago

0.1.2

2 years ago

0.1.1

2 years ago