ofd-view

0.2.2 • Public • Published

ofd-view

vue使用

npm 安装


npm i ofd-view -S

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


import OfdView from "ofd-view";
import 'ofd-view/lib/viewer.css'



Vue.use(OfdView);

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


dir="ltr"

配置参数

参数 说明 类型 示例 默认值
file ofd文件 url []
mem parser_x.js变量 object -
secret string
digest string
canDownload 是否可下载 boolean true
canPrint 是否可打印(打印合脊那边客户看不懂新打开页的意思) boolean true
canOpen 是否可打开新文档 boolean false

Readme

Keywords

none

Package Sidebar

Install

npm i ofd-view

Weekly Downloads

11

Version

0.2.2

License

none

Unpacked Size

978 kB

Total Files

61

Last publish

Collaborators

  • dltech21