@vaadin-component-factory/vcf-pdf-viewer 1.0.0 → 1.0.1
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
|
@@ -628,11 +628,10 @@ class PdfViewerElement extends
|
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
setCurrentPage(value) {
|
|
631
|
-
if (
|
|
631
|
+
if (value != undefined) {
|
|
632
632
|
this.$.currentPage.value = value;
|
|
633
|
-
} else {
|
|
634
|
-
this.__pageChange();
|
|
635
633
|
}
|
|
634
|
+
this.__pageChange();
|
|
636
635
|
}
|
|
637
636
|
|
|
638
637
|
_getPage() {
|