@tmaito/viewer

0.3.1 • Public • Published

Quick Start

Install

npm i @tmaito/viewer
// or
yarn add @tmaito/viewer

Use

import { Viewer } from '@tmaito/viewer'
// style
@import '@tmaito/viewer/dist/index.css'

Api

参数 说明 类型 默认值
url 展示的图片链接地址,可以是pdf格式 string
style 预览洁面 canvas 样式 CSSProperties -
isToolBar 是否展示操作按钮 boolean true
options 相关属性可参考 object -

Readme

Keywords

none

Package Sidebar

Install

npm i @tmaito/viewer

Weekly Downloads

0

Version

0.3.1

License

ISC

Unpacked Size

58.3 kB

Total Files

5

Last publish

Collaborators

  • zmh7057