0.2.1 • Published 9 months ago

capacitor-plugin-hanwha-viewer v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

capacitor-plugin-hanwha-viewer

Viewer

Install

npm install capacitor-plugin-hanwha-viewer
npx cap sync

Example

import { Viewer } from 'capacitor-plugin-hanwha-viewer';
let file = [
  { key: '1', ext: 'pdf', name: '첨부파일예제.pdf', url: 'https://naver.com' },
  { key: '2', ext: 'pdf', name: '첨부파일예제2.pdf', url: 'https://daum.net' },
  { key: '3', ext: 'doc', name: '첨부파일예제3.doc', url: 'https://nate.com' },
];

await Viewer.load({ items: JSON.stringify(file), token: '토큰 값' });

API

load(...)

load(options: { items: string; token?: string; }) => Promise<{ value: string; }>
ParamTypeDescription
options{ items: string; token?: string; }items : "{ key: (index), ext: (확장자), name: (파일명), url: (파일주소) }" (optional)token : accessToken값

Returns: Promise<{ value: string; }>


0.2.1

9 months ago

0.2.0

9 months ago

0.1.8

9 months ago

0.1.7

9 months ago

0.1.9

9 months 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.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago