@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
|
@@ -13655,6 +13655,38 @@
|
|
|
13655
13655
|
var image_preview = /** @class */ (function () {
|
|
13656
13656
|
function image_preview() {
|
|
13657
13657
|
this._preview = true;
|
|
13658
|
+
this.config = {
|
|
13659
|
+
btnClass: 'default',
|
|
13660
|
+
// The CSS class(es) that will apply to the buttons
|
|
13661
|
+
zoomFactor: 0.1,
|
|
13662
|
+
// The amount that the scale will be increased by
|
|
13663
|
+
containerBackgroundColor: '#ccc',
|
|
13664
|
+
// The color to use for the background. This can provided in hex, or rgb(a).
|
|
13665
|
+
wheelZoom: true,
|
|
13666
|
+
// If true, the mouse wheel can be used to zoom in
|
|
13667
|
+
allowFullscreen: false,
|
|
13668
|
+
// If true, the fullscreen button will be shown, allowing the user to entr fullscreen mode
|
|
13669
|
+
allowKeyboardNavigation: true,
|
|
13670
|
+
// If true, the left / right arrow keys can be used for navigation
|
|
13671
|
+
btnIcons: {
|
|
13672
|
+
// The icon classes that will apply to the buttons. By default, font-awesome is used.
|
|
13673
|
+
zoomIn: 'fa fa-plus',
|
|
13674
|
+
zoomOut: 'fa fa-minus',
|
|
13675
|
+
rotateClockwise: 'fa fa-repeat',
|
|
13676
|
+
rotateCounterClockwise: 'fa fa-undo',
|
|
13677
|
+
next: 'fa fa-arrow-right',
|
|
13678
|
+
prev: 'fa fa-arrow-left',
|
|
13679
|
+
fullscreen: 'fa fa-arrows-alt',
|
|
13680
|
+
},
|
|
13681
|
+
btnShow: {
|
|
13682
|
+
zoomIn: false,
|
|
13683
|
+
zoomOut: false,
|
|
13684
|
+
rotateClockwise: false,
|
|
13685
|
+
rotateCounterClockwise: false,
|
|
13686
|
+
next: false,
|
|
13687
|
+
prev: false
|
|
13688
|
+
}
|
|
13689
|
+
};
|
|
13658
13690
|
this.u = null;
|
|
13659
13691
|
this.already_open = false;
|
|
13660
13692
|
this.config_photo = {
|