convert image to to standalone component

This commit is contained in:
2024-10-01 19:09:59 +02:00
parent 4b211e425d
commit b0415ed972
2 changed files with 7 additions and 2 deletions

View File

@@ -65,7 +65,6 @@ import { LimitByComponent } from "./limit-by/limit-by.component";
GalleryViewComponent,
GalleryItemView,
GalleryFilterView,
ImageToggleComponent,
DashboardPageComponent,
DashboardComponent,
TextWidgetComponent,
@@ -84,6 +83,7 @@ import { LimitByComponent } from "./limit-by/limit-by.component";
ReactiveFormsModule,
DatePickerComponent,
DragDropModule,
ImageToggleComponent,
LimitByComponent,
MainPageComponent,
MatAutocompleteModule,

View File

@@ -1,9 +1,14 @@
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
@Component({
selector: 'pdb-image-toggle',
templateUrl: './image-toggle.component.html',
styleUrls: ['./image-toggle.component.scss']
styleUrls: ['./image-toggle.component.scss'],
standalone: true,
imports: [
BrowserModule
]
})
export class ImageToggleComponent implements OnInit {