@fluxhub/fluxhub-lib 1.0.233 → 1.0.234
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/bundles/fluxhub-fluxhub-lib.umd.js +32 -0
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/docs/components/image_preview.html +31 -2
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/image_preview.js +33 -1
- package/esm5/lib/controls/image_preview.js +33 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +32 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +32 -0
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/image_preview.d.ts +25 -1
- package/package.json +1 -1
|
@@ -449,16 +449,45 @@
|
|
|
449
449
|
</tr>
|
|
450
450
|
<tr>
|
|
451
451
|
<td class="col-md-4">
|
|
452
|
-
<code>config: <code><a href="https://
|
|
452
|
+
<code>config: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
|
|
453
453
|
</code>
|
|
454
454
|
</td>
|
|
455
455
|
</tr>
|
|
456
456
|
<tr>
|
|
457
457
|
<td class="col-md-4">
|
|
458
|
-
<i>Type : </i> <code><a href="https://
|
|
458
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
|
|
459
459
|
|
|
460
460
|
</td>
|
|
461
461
|
</tr>
|
|
462
|
+
<tr>
|
|
463
|
+
<td class="col-md-4">
|
|
464
|
+
<i>Default value : </i><code>{
|
|
465
|
+
btnClass: 'default', // The CSS class(es) that will apply to the buttons
|
|
466
|
+
zoomFactor: 0.1, // The amount that the scale will be increased by
|
|
467
|
+
containerBackgroundColor: '#ccc', // The color to use for the background. This can provided in hex, or rgb(a).
|
|
468
|
+
wheelZoom: true, // If true, the mouse wheel can be used to zoom in
|
|
469
|
+
allowFullscreen: false, // If true, the fullscreen button will be shown, allowing the user to entr fullscreen mode
|
|
470
|
+
allowKeyboardNavigation: true, // If true, the left / right arrow keys can be used for navigation
|
|
471
|
+
btnIcons: { // The icon classes that will apply to the buttons. By default, font-awesome is used.
|
|
472
|
+
zoomIn: 'fa fa-plus',
|
|
473
|
+
zoomOut: 'fa fa-minus',
|
|
474
|
+
rotateClockwise: 'fa fa-repeat',
|
|
475
|
+
rotateCounterClockwise: 'fa fa-undo',
|
|
476
|
+
next: 'fa fa-arrow-right',
|
|
477
|
+
prev: 'fa fa-arrow-left',
|
|
478
|
+
fullscreen: 'fa fa-arrows-alt',
|
|
479
|
+
},
|
|
480
|
+
btnShow: {
|
|
481
|
+
zoomIn: false,
|
|
482
|
+
zoomOut: false,
|
|
483
|
+
rotateClockwise: false,
|
|
484
|
+
rotateCounterClockwise: false,
|
|
485
|
+
next: false,
|
|
486
|
+
prev: false
|
|
487
|
+
}
|
|
488
|
+
}</code>
|
|
489
|
+
</td>
|
|
490
|
+
</tr>
|
|
462
491
|
|
|
463
492
|
|
|
464
493
|
</tbody>
|