@vaadin-component-factory/vcf-pdf-viewer 0.9.3 → 0.9.4
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/package.json +1 -1
- package/src/vcf-pdf-viewer.js +2 -3
package/package.json
CHANGED
package/src/vcf-pdf-viewer.js
CHANGED
|
@@ -627,11 +627,10 @@ class PdfViewerElement extends
|
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
setCurrentPage(value) {
|
|
630
|
-
if (
|
|
630
|
+
if (value != undefined) {
|
|
631
631
|
this.$.currentPage.value = value;
|
|
632
|
-
} else {
|
|
633
|
-
this.__pageChange();
|
|
634
632
|
}
|
|
633
|
+
this.__pageChange();
|
|
635
634
|
}
|
|
636
635
|
|
|
637
636
|
_getPage() {
|