Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimDez authored Apr 7, 2018
1 parent 0dd6d2a commit 1ec5b5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ Then add it to `pdf-component` in component's template
(on-progress)="onProgress($event)"
```

### Render local PDF file
## Render local PDF file

In your `html` template add `input`:

Expand All @@ -380,7 +380,7 @@ onFileSelected() {
```


### Set custom path to the worker
## Set custom path to the worker

By default the `worker` is loaded from `cdnjs.cloudflare.com`.

Expand All @@ -391,7 +391,7 @@ In your code update `path` to the worker to be for example `/pdf.worker.js`
*This should be set before `pdf-viewer` component is rendered.*


### Search in the PDF
## Search in the PDF

Use `pdfFindController` for search functionality.

Expand Down

0 comments on commit 1ec5b5e

Please sign in to comment.