ngx-extended-pdf-viewer
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "ngx-extended-pdf-viewer", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"license": "Apache License V2", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -28,3 +28,20 @@ # ngx-extended-pdf-viewer | ||
3. Add "NgxExtendedPdfViewerModule" to the import section of your module file. If you IDE doesn't find | ||
3. Copy the images from the assets folder of the library to the assets folder of your project. | ||
Modify the "angular.json" (or ".angular-cli.json") file like so: | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets", | ||
{ | ||
"glob": "**/*", | ||
"input": "./node_modules/ngx-extended-pdf-viewer/assets/images", | ||
"output": "./assets/images" | ||
} | ||
], | ||
... | ||
The first two entries of the "assets" key should already be there. You only have | ||
to add the Json object beginning with "glob". | ||
4. Add "NgxExtendedPdfViewerModule" to the import section of your module file. If you IDE doesn't find | ||
the import automatically, here it is: | ||
@@ -34,3 +51,3 @@ | ||
4. Now you can display the PDF file using "<ngx-extended-pdf-viewer src="'assets/example.pdf'"></ngx-extended-pdf-viewer>". | ||
5. Now you can display the PDF file using "<ngx-extended-pdf-viewer src="'assets/example.pdf'"></ngx-extended-pdf-viewer>". | ||
@@ -37,0 +54,0 @@ ## Configuration |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
4764988
146571
71