cell.d.ts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.io/license
  7. */
  8. import { ElementRef } from '@angular/core';
  9. import { CdkCell, CdkCellDef, CdkColumnDef, CdkFooterCell, CdkFooterCellDef, CdkHeaderCell, CdkHeaderCellDef } from '@angular/cdk/table';
  10. /**
  11. * Cell definition for the mat-table.
  12. * Captures the template of a column's data row cell as well as cell-specific properties.
  13. */
  14. export declare class MatCellDef extends CdkCellDef {
  15. }
  16. /**
  17. * Header cell definition for the mat-table.
  18. * Captures the template of a column's header cell and as well as cell-specific properties.
  19. */
  20. export declare class MatHeaderCellDef extends CdkHeaderCellDef {
  21. }
  22. /**
  23. * Footer cell definition for the mat-table.
  24. * Captures the template of a column's footer cell and as well as cell-specific properties.
  25. */
  26. export declare class MatFooterCellDef extends CdkFooterCellDef {
  27. }
  28. /**
  29. * Column definition for the mat-table.
  30. * Defines a set of cells available for a table column.
  31. */
  32. export declare class MatColumnDef extends CdkColumnDef {
  33. /** Unique name for this column. */
  34. name: string;
  35. /** Whether this column should be sticky positioned at the start of the row */
  36. sticky: boolean;
  37. /** Whether this column should be sticky positioned on the end of the row */
  38. stickyEnd: boolean;
  39. }
  40. /** Header cell template container that adds the right classes and role. */
  41. export declare class MatHeaderCell extends CdkHeaderCell {
  42. constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
  43. }
  44. /** Footer cell template container that adds the right classes and role. */
  45. export declare class MatFooterCell extends CdkFooterCell {
  46. constructor(columnDef: CdkColumnDef, elementRef: ElementRef);
  47. }
  48. /** Cell template container that adds the right classes and role. */
  49. export declare class MatCell extends CdkCell {
  50. constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
  51. }