Comparing version 4.0.0 to 4.0.1
{ | ||
"name": "vue-pdf", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "vue.js pdf viewer", | ||
@@ -5,0 +5,0 @@ "main": "src/vuePdfNoSss.vue", |
@@ -85,2 +85,4 @@ # vue-pdf | ||
The loading task is a promise that resolves with the PDFJS pdf document that exposes the `numPages` property (see example below). | ||
**beware:** when the component is destroyed, the object returned by `createLoadingTask()` become invalid. | ||
@@ -87,0 +89,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { CMapCompressionType } from 'pdfjs-dist/lib/shared/util'; | ||
import { CMapCompressionType } from 'pdfjs-dist/webpack.js' | ||
@@ -3,0 +3,0 @@ // see https://github.com/mozilla/pdf.js/blob/628e70fbb5dea3b9066aa5c34cca70aaafef8db2/src/display/dom_utils.js#L64 |
@@ -215,3 +215,3 @@ import { PDFLinkService } from 'pdfjs-dist/lib/web/pdf_link_service'; | ||
pdfPage.getAnnotations() | ||
pdfPage.getAnnotations({ intent: 'display' }) | ||
.then(function(annotations) { | ||
@@ -218,0 +218,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
26889
289