An open API service indexing awesome lists of open source software.

https://github.com/daviddevgt/capacitor7-pdf-viewer


https://github.com/daviddevgt/capacitor7-pdf-viewer

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# capacitor7-pdf-viewer

Preview a PDF in a Capacitor App

## Install

```bash
npm install capacitor7-pdf-viewer
npx cap sync
```

## API

* [`echo(...)`](#echo)
* [`openPDF(...)`](#openpdf)

### echo(...)

```typescript
echo(options: { value: string; }) => Promise<{ value: string; }>
```

| Param | Type |
| ------------- | ------------------------------- |
| **`options`** | { value: string; } |

**Returns:** Promise<{ value: string; }>

--------------------

### openPDF(...)

```typescript
openPDF(options: { filePath: string; }) => Promise
```

| Param | Type |
| ------------- | ---------------------------------- |
| **`options`** | { filePath: string; } |

--------------------