dependencies dependencies cluster_TableModule cluster_TableModule_declarations cluster_TableModule_exports cluster_TableModule_imports TableComponent TableComponent TableModule TableModule TableComponent->TableModule TableComponent TableComponent TableModule->TableComponent OutletModule OutletModule OutletModule->TableModule TableDataCellModule TableDataCellModule TableDataCellModule->TableModule TableHeaderCellModule TableHeaderCellModule TableHeaderCellModule->TableModule

File

projects/storefrontlib/shared/components/table/table.module.ts

Description

The TableModule provides a table component that is driven by (responsible) configuration.

import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { provideConfig } from '@spartacus/core';
import { OutletModule } from '../../../cms-structure/outlet/outlet.module';
import { defaultTableConfig } from './config/default-table.config';
import { TableDataCellModule } from './table-data-cell/table-data-cell.module';
import { TableHeaderCellModule } from './table-header-cell/table-header-cell.module';
import { TableComponent } from './table.component';

/**
 * The TableModule provides a table component that is driven by (responsible) configuration.
 */
@NgModule({
  imports: [
    CommonModule,
    OutletModule,
    TableHeaderCellModule,
    TableDataCellModule,
  ],
  declarations: [TableComponent],
  exports: [TableComponent],
  providers: [provideConfig(defaultTableConfig)],
})
export class TableModule {}

result-matching ""

    No results matching ""