convert image to to standalone component
This commit is contained in:
@@ -65,7 +65,6 @@ import { LimitByComponent } from "./limit-by/limit-by.component";
|
|||||||
GalleryViewComponent,
|
GalleryViewComponent,
|
||||||
GalleryItemView,
|
GalleryItemView,
|
||||||
GalleryFilterView,
|
GalleryFilterView,
|
||||||
ImageToggleComponent,
|
|
||||||
DashboardPageComponent,
|
DashboardPageComponent,
|
||||||
DashboardComponent,
|
DashboardComponent,
|
||||||
TextWidgetComponent,
|
TextWidgetComponent,
|
||||||
@@ -84,6 +83,7 @@ import { LimitByComponent } from "./limit-by/limit-by.component";
|
|||||||
ReactiveFormsModule,
|
ReactiveFormsModule,
|
||||||
DatePickerComponent,
|
DatePickerComponent,
|
||||||
DragDropModule,
|
DragDropModule,
|
||||||
|
ImageToggleComponent,
|
||||||
LimitByComponent,
|
LimitByComponent,
|
||||||
MainPageComponent,
|
MainPageComponent,
|
||||||
MatAutocompleteModule,
|
MatAutocompleteModule,
|
||||||
|
|||||||
@@ -1,9 +1,14 @@
|
|||||||
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
||||||
|
import { BrowserModule } from '@angular/platform-browser';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'pdb-image-toggle',
|
selector: 'pdb-image-toggle',
|
||||||
templateUrl: './image-toggle.component.html',
|
templateUrl: './image-toggle.component.html',
|
||||||
styleUrls: ['./image-toggle.component.scss']
|
styleUrls: ['./image-toggle.component.scss'],
|
||||||
|
standalone: true,
|
||||||
|
imports: [
|
||||||
|
BrowserModule
|
||||||
|
]
|
||||||
})
|
})
|
||||||
export class ImageToggleComponent implements OnInit {
|
export class ImageToggleComponent implements OnInit {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user