From 1ec5b5eeb86bfd78f226d89637741fe29848dc59 Mon Sep 17 00:00:00 2001 From: Vadym Yatsyuk Date: Sat, 7 Apr 2018 23:46:41 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4d8cb2032..51b9fd7c4 100644 --- a/README.md +++ b/README.md @@ -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`: @@ -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`. @@ -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.