dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_DataTableModule cluster_DataTableModule_declarations cluster_DataTableModule_exports TableActionsComponent TableActionsComponent DataTableModule DataTableModule TableActionsComponent->DataTableModule TableComponent TableComponent TableComponent->DataTableModule TableKeyValueComponent TableKeyValueComponent TableKeyValueComponent->DataTableModule TableActionsComponent TableActionsComponent DataTableModule->TableActionsComponent TableComponent TableComponent DataTableModule->TableComponent TableKeyValueComponent TableKeyValueComponent DataTableModule->TableKeyValueComponent

File

src/app/shared/datatable/datatable.module.ts

import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';

import { NgxDatatableModule } from '@swimlane/ngx-datatable';
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';

import { ComponentsModule } from '../components/components.module';
import { PipesModule } from '../pipes/pipes.module';
import { TableActionsComponent } from './table-actions/table-actions.component';
import { TableKeyValueComponent } from './table-key-value/table-key-value.component';
import { TableComponent } from './table/table.component';

@NgModule({
  imports: [
    CommonModule,
    NgxDatatableModule,
    FormsModule,
    BsDropdownModule.forRoot(),
    PipesModule,
    ComponentsModule,
    RouterModule
  ],
  declarations: [TableComponent, TableKeyValueComponent, TableActionsComponent],
  exports: [TableComponent, NgxDatatableModule, TableKeyValueComponent, TableActionsComponent]
})
export class DataTableModule {}

result-matching ""

    No results matching ""