@maro-tech/card 0.1.13 → 0.1.14
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
CHANGED
|
@@ -232,11 +232,13 @@ declare class ImagesViewerComponent {
|
|
|
232
232
|
readonly currentIndex: _angular_core.WritableSignal<number>;
|
|
233
233
|
readonly isOriginalVisible: _angular_core.WritableSignal<boolean>;
|
|
234
234
|
readonly originalPreviewUnavailable: _angular_core.WritableSignal<boolean>;
|
|
235
|
+
readonly currentImage: _angular_core.Signal<ElementRef<HTMLImageElement> | undefined>;
|
|
235
236
|
readonly thumbnailButtons: _angular_core.Signal<readonly ElementRef<HTMLButtonElement>[]>;
|
|
236
237
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
237
238
|
private touchStartX;
|
|
238
239
|
private touchStartY;
|
|
239
240
|
private lastImagesKey;
|
|
241
|
+
private panzoomInstance;
|
|
240
242
|
constructor();
|
|
241
243
|
onEscape(): void;
|
|
242
244
|
onArrowLeft(): void;
|
|
@@ -247,6 +249,12 @@ declare class ImagesViewerComponent {
|
|
|
247
249
|
showPreviousImage(): void;
|
|
248
250
|
showNextImage(): void;
|
|
249
251
|
toggleOriginal(): void;
|
|
252
|
+
zoomIn(): void;
|
|
253
|
+
zoomOut(): void;
|
|
254
|
+
resetZoom(): void;
|
|
255
|
+
onWheel(event: WheelEvent): void;
|
|
256
|
+
onImageLoad(): void;
|
|
257
|
+
toggleZoom(): void;
|
|
250
258
|
selectImage(index: number, event: MouseEvent): void;
|
|
251
259
|
onImageError(index: number): void;
|
|
252
260
|
private blurActiveElement;
|