convert image to to standalone component
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user