Skip to content
Snippets Groups Projects
module.ts 1.19 KiB
Newer Older
import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { ComponentsModule } from "src/components";
import { AngularMaterialModule } from "src/sharedModules";
import { UtilModule } from "src/util";
import { ViewerCtrlCmp } from "./viewerCtrlCmp/viewerCtrlCmp.component";
import { PerspectiveViewSlider } from "./perspectiveViewSlider/perspectiveViewSlider.component";
import { SnapPerspectiveOrientationCmp } from "src/viewerModule/nehuba/viewerCtrl/snapPerspectiveOrientation/snapPerspectiveOrientation.component";
import { WindowResizeModule } from "src/util/windowResize";
Xiao Gui's avatar
Xiao Gui committed
import { EffectsModule } from "@ngrx/effects";
import { ViewerCtrlEffects } from "./effects"

@NgModule({
  imports: [
    CommonModule,
    AngularMaterialModule,
    UtilModule,
    FormsModule,
    ReactiveFormsModule,
    ComponentsModule,
    WindowResizeModule,
Xiao Gui's avatar
Xiao Gui committed
    EffectsModule.forFeature([
      ViewerCtrlEffects
    ])
  ],
  declarations: [
    ViewerCtrlCmp,
    PerspectiveViewSlider,
    SnapPerspectiveOrientationCmp,
  ],
  exports: [
    ViewerCtrlCmp,
    PerspectiveViewSlider
export class ViewerCtrlModule{}