@aprova.ch/ngx-next-pdf-viewer 20.0.12 → 20.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,16 +57,16 @@ export class AppComponent { ... }
|
|
|
57
57
|
|
|
58
58
|
## Inputs
|
|
59
59
|
|
|
60
|
-
| Input | Type
|
|
61
|
-
|
|
62
|
-
| `blob` | `Blob \| undefined`
|
|
63
|
-
| `annotations` | `BoundingBox[]`
|
|
64
|
-
| `contextMenuItems` | `ContextMenuItem[]`
|
|
65
|
-
| `highlightingColor`| `string`
|
|
66
|
-
| `selectedColor` | `string`
|
|
67
|
-
| `annotationStroke` | `string`
|
|
68
|
-
| `initialZoom` | `number`
|
|
69
|
-
| `labels` | `Partial<PdfViewerLabels>` | see below
|
|
60
|
+
| Input | Type | Default | Description |
|
|
61
|
+
|--------------------|----------------------------|-----------------------------|---------------------------------------------------|
|
|
62
|
+
| `blob` | `Blob \| undefined` | `undefined` | The PDF file as a Blob |
|
|
63
|
+
| `annotations` | `BoundingBox[]` | `[]` | Annotation boxes to render as SVG polygons |
|
|
64
|
+
| `contextMenuItems` | `ContextMenuItem[]` | `[]` | Items shown in right-click menu after drag-select |
|
|
65
|
+
| `highlightingColor`| `string` | `'rgba(255,200,0,0.35)'` | Fill color of the clicked/highlighted box |
|
|
66
|
+
| `selectedColor` | `string` | `'rgba(0,120,215,0.35)'` | Fill color of multi-selected boxes |
|
|
67
|
+
| `annotationStroke` | `string` | `'#e97332'` | Stroke color of annotation polygons |
|
|
68
|
+
| `initialZoom` | `number` or `string` | `1.5` or `fit-to-width` or `fit-to-height` or `fit-to-page` | Zoom level applied when the PDF first loads |
|
|
69
|
+
| `labels` | `Partial<PdfViewerLabels>` | see below | Override any subset of the viewer's UI strings |
|
|
70
70
|
|
|
71
71
|
## Outputs
|
|
72
72
|
|