dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_DocumentVisorModule cluster_DocumentVisorModule_declarations cluster_DocumentVisorModule_exports DocumentVisorComponent DocumentVisorComponent DocumentVisorModule DocumentVisorModule DocumentVisorComponent->DocumentVisorModule DocumentVisorComponent DocumentVisorComponent DocumentVisorModule->DocumentVisorComponent

File

projects/maplander/components/src/lib/components/document-visor/document-visor.module.ts

Methods

Static forChild
forChild()
import {ModuleWithProviders, NgModule} from '@angular/core';
import { CommonModule } from '@angular/common';
import {MatButtonModule} from '@angular/material/button';
import {MatDialogModule} from '@angular/material/dialog';
import {MatIconModule} from '@angular/material/icon';
import {DocumentVisorComponent} from './document-visor.component';
import {DocumentVisorService} from './document-visor.service';
import {SafeUrlModule} from '@maplander/shared';

const MATERIAL = [
  MatButtonModule,
  MatDialogModule,
  MatIconModule
];

@NgModule({
  imports: [
    CommonModule,
    SafeUrlModule.forChild(),
    MATERIAL
  ],
  declarations: [
    DocumentVisorComponent
  ],
  exports: [
    DocumentVisorComponent
  ],
  entryComponents: [
    DocumentVisorComponent
  ]
})
export class DocumentVisorModule {
  static forChild(): ModuleWithProviders {
    return {
      ngModule: DocumentVisorModule,
      providers: [
        DocumentVisorService
      ]
    };
  }
}

result-matching ""

    No results matching ""