@@ -58,17 +58,18 @@ const pdfSource = '<PDF_URL>'
58
58
59
59
### Props
60
60
61
- | Name | Type | Accepted values | Description |
62
- | ------------------ | ---------------------- | ------------------------------------------------------- | -------------------------------------------------------------------------- |
63
- | annotationLayer | ` boolean ` | ` true ` or ` false ` | whether the annotation layer should be enabled |
64
- | height | ` number ` | natural numbers | desired page height in pixels (ignored if the width property is specified) |
65
- | imageResourcesPath | ` string ` | URL or path with trailing slash | path for icons used in the annotation layer |
66
- | page | ` number ` | ` 1 ` to the last page number | number of the page to display (displaying all pages if not specified) |
67
- | rotation | ` number ` | ` 0 ` , ` 90 ` , ` 180 ` , ` 270 ` (multiples of ` 90 ` ) | desired page rotation angle in degrees |
68
- | scale | ` number ` | rational numbers | desired page viewport scale |
69
- | source | ` string ` <br > ` object ` | document URL or Base64 or typed array or document proxy | source of the document to display |
70
- | textLayer | ` boolean ` | ` true ` or ` false ` | whether the text layer should be enabled |
71
- | width | ` number ` | natural numbers | desired page width in pixels |
61
+ | Name | Type | Accepted values | Description |
62
+ | ------------------ | ---------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
63
+ | annotationLayer | ` boolean ` | | whether the annotation layer should be enabled |
64
+ | height | ` number ` | natural numbers | desired page height in pixels (ignored if the width property is specified) |
65
+ | imageResourcesPath | ` string ` | URL or path with trailing slash | path for icons used in the annotation layer |
66
+ | linkService | ` PDFLinkService ` | | document navigation service to override the default one (emitting ` internal-link-clicked ` ) |
67
+ | page | ` number ` | ` 1 ` to the last page number | number of the page to display (displaying all pages if not specified) |
68
+ | rotation | ` number ` | ` 0 ` , ` 90 ` , ` 180 ` , ` 270 ` (multiples of ` 90 ` ) | desired page rotation angle in degrees |
69
+ | scale | ` number ` | rational numbers | desired page viewport scale |
70
+ | source | ` string ` <br > ` object ` <br > ` PDFDocumentProxy ` | document URL or Base64 or typed array or document proxy | source of the document to display |
71
+ | textLayer | ` boolean ` | | whether the text layer should be enabled |
72
+ | width | ` number ` | natural numbers | desired page width in pixels |
72
73
73
74
### Events
74
75
0 commit comments