|
@@ -1,13 +1,14 @@
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
import { Component, Input, OnInit, AfterViewInit, ElementRef, ViewChild, ChangeDetectorRef } from '@angular/core';
|
|
|
-import { GestureController, Gesture, IonicModule } from '@ionic/angular';
|
|
|
+import { GestureController, Gesture } from '@ionic/angular';
|
|
|
+import { ionicStandaloneModules } from '../../../modules/ionic-standalone.modules';
|
|
|
|
|
|
@Component({
|
|
|
selector: 'app-image-preview',
|
|
|
templateUrl: './image-preview.component.html',
|
|
|
styleUrls: ['./image-preview.component.scss'],
|
|
|
standalone: true,
|
|
|
- imports: [IonicModule, CommonModule],
|
|
|
+ imports: [...ionicStandaloneModules, CommonModule],
|
|
|
})
|
|
|
export class ImagePreviewComponent implements OnInit, AfterViewInit {
|
|
|
@Input() image: string = '';
|