@vaadin-component-factory/vcf-pdf-viewer 1.0.3 → 1.1.0

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.
@@ -252,8 +252,8 @@ class PdfViewerElement extends
252
252
  <vaadin-select id="zoom" part="toolbar-zoom" value="{{zoom}}">
253
253
  <template>
254
254
  <vaadin-list-box>
255
- <vaadin-item value='auto'>Automatic zoom</vaadin-item>
256
- <vaadin-item value='page-fit'>Page fit</vaadin-item>
255
+ <vaadin-item value='auto'>{{autoZoomOptionLabel}}</vaadin-item>
256
+ <vaadin-item value='page-fit'>{{fitZoomOptionLabel}}</vaadin-item>
257
257
  <vaadin-item value='0.5'>50%</vaadin-item>
258
258
  <vaadin-item value='0.75'>75%</vaadin-item>
259
259
  <vaadin-item value='1.0'>100%</vaadin-item>
@@ -289,7 +289,7 @@ class PdfViewerElement extends
289
289
  }
290
290
 
291
291
  static get version() {
292
- return '1.0.0';
292
+ return '1.1.0';
293
293
  }
294
294
 
295
295
  static get properties() {
@@ -387,6 +387,22 @@ class PdfViewerElement extends
387
387
  type: Boolean,
388
388
  value: false
389
389
  },
390
+
391
+ /**
392
+ * Property to define auto zoom label
393
+ */
394
+ autoZoomOptionLabel: {
395
+ type: String,
396
+ value: "Automatic zoom"
397
+ },
398
+
399
+ /**
400
+ * Property to define page fit zoom label
401
+ */
402
+ fitZoomOptionLabel: {
403
+ type: String,
404
+ value: "Page fit"
405
+ },
390
406
  };
391
407
  }
392
408