pdfjs-viewer-element 2.2.1 → 2.2.3
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 +11 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
# pdfjs-viewer-element
|
|
2
2
|
|
|
3
|
+
A web component for viewing pdf files in the browser. The package is based on [PDF.js default viewer](https://mozilla.github.io/pdf.js/web/viewer.html) build and works with any framework.
|
|
4
|
+
|
|
5
|
+
⚠️ `pdfjs-viewer-element` uses PDF.js [prebuilt](http://mozilla.github.io/pdf.js/getting_started/), that includes the generic build of PDF.js and the viewer. To use the package you should download and **place the prebuilt** files to some directory of your project. Then specify the path to this directory with `viewer-path` property (`/pdfjs` by default).
|
|
6
|
+
|
|
7
|
+
## Status
|
|
8
|
+
|
|
3
9
|
[](https://www.npmjs.com/package/pdfjs-viewer-element)
|
|
4
10
|
[](https://packagequality.com/#?package=pdfjs-viewer-element)
|
|
5
11
|
|
|
6
|
-
|
|
12
|
+
## Docs
|
|
7
13
|
|
|
8
|
-
|
|
14
|
+
[Getting started](https://alekswebnet.github.io/pdfjs-viewer-element/)
|
|
15
|
+
|
|
16
|
+
[Api](https://alekswebnet.github.io/pdfjs-viewer-element/)
|
|
9
17
|
|
|
10
18
|
## Install
|
|
11
19
|
|
|
@@ -52,7 +60,7 @@ Using browser:
|
|
|
52
60
|
|
|
53
61
|
`pagemode` - Page mode
|
|
54
62
|
|
|
55
|
-
For more clarity, see the [
|
|
63
|
+
For more clarity, see the [Api docs page](https://alekswebnet.github.io/pdfjs-viewer-element/#api).
|
|
56
64
|
|
|
57
65
|
## License
|
|
58
66
|
For this package - [MIT](http://opensource.org/licenses/MIT).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pdfjs-viewer-element",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Oleksandr Shevchuk",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"type": "git",
|
|
22
22
|
"url": "git+https://github.com/alekswebnet/pdfjs-viewer-element.git"
|
|
23
23
|
},
|
|
24
|
-
"homepage": "https://github.
|
|
24
|
+
"homepage": "(https://alekswebnet.github.io/pdfjs-viewer-element/",
|
|
25
25
|
"bugs": {
|
|
26
26
|
"url": "https://github.com/alekswebnet/pdfjs-viewer-element/issues"
|
|
27
27
|
},
|