ng2-pdfjs-viewer
Advanced tools
Comparing version 3.4.9 to 3.5.0
{ | ||
"name": "ng2-pdfjs-viewer", | ||
"version": "3.4.9", | ||
"version": "3.5.0", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -184,3 +184,3 @@ # Angular 8 PDFJS viewer with Mozilla's ViewerJS (Supports Angular 2/4/5/6/7/8) | ||
export class MyComponent implements OnInit { | ||
@ViewChild('pdfViewer') pdfViewerOnDemand; | ||
@ViewChild('pdfViewerOnDemand') pdfViewerOnDemand; | ||
@ViewChild('pdfViewerAutoLoad') pdfViewerAutoLoad; | ||
@@ -218,4 +218,4 @@ ... | ||
(res) => { | ||
this.pdfViewer.pdfSrc = res; // pdfSrc can be Blob or Uint8Array | ||
this.pdfViewer.refresh(); // Ask pdf viewer to load/reresh pdf | ||
this.pdfViewerOnDemand.pdfSrc = res; // pdfSrc can be Blob or Uint8Array | ||
this.pdfViewerOnDemand.refresh(); // Ask pdf viewer to load/reresh pdf | ||
} | ||
@@ -222,0 +222,0 @@ ); |
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
11933699