dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_MatJumbotronModule cluster_MatJumbotronModule_declarations cluster_MatJumbotronModule_exports MatJumbotronComponent MatJumbotronComponent MatJumbotronModule MatJumbotronModule MatJumbotronComponent->MatJumbotronModule MatJumbotronContentComponent MatJumbotronContentComponent MatJumbotronContentComponent->MatJumbotronModule MatJumbotronComponent MatJumbotronComponent MatJumbotronModule->MatJumbotronComponent MatJumbotronContentComponent MatJumbotronContentComponent MatJumbotronModule->MatJumbotronContentComponent

File

src/module/mat-jumbotron.module.ts

import {CommonModule} from '@angular/common';
import {NgModule, ModuleWithProviders} from '@angular/core';

import {MatCardModule} from '@angular/material';
import {FlexLayoutModule} from '@angular/flex-layout';
import {MatJumbotronComponent} from './component/mat-jumbotron/mat-jumbotron.component';
import {MatJumbotronContentComponent} from './component/mat-jumbotron/content/mat-jumbotron-content.component';

// Export module's public API
export {MatJumbotronComponent} from './component/mat-jumbotron/mat-jumbotron.component';
export {MatJumbotronContentComponent} from './component/mat-jumbotron/content/mat-jumbotron-content.component';

@NgModule({
  imports: [
    CommonModule,
    FlexLayoutModule,
    MatCardModule,
  ],
  exports: [MatJumbotronComponent, MatJumbotronContentComponent],
  declarations: [MatJumbotronComponent, MatJumbotronContentComponent]
})
export class MatJumbotronModule {
  static forRoot(): ModuleWithProviders {
    return {
      ngModule: MatJumbotronModule,
      providers: []
    };
  }
}

results matching ""

    No results matching ""