license import { Directive , ElementRef , NgZone } from '@angular/core' ; import { CdkTable } from '@angular/cdk/table' ; import { ColumnResize } from '../column-resize' ; import { ColumnResizeNotifier , ColumnResizeNotifierSource } from '../column-resize-notifier' ; import { HeaderRowEventDispatcher } from '../event-dispatcher' ; import { TABLE_PROVIDERS } from './constants' ; /**
 * Explicitly enables column resizing for a table-based cdk-table.
 * Individual columns must be annotated specifically.
 */ @ Directive ( { selector : 'table[cdk-table][columnResize]' , providers : [ ... TABLE_PROVIDERS , { provide : ColumnResize , useExisting : CdkColumnResize } ] , } ) export class CdkColumnResize extends ColumnResize { constructor ( readonly columnResizeNotifier , readonly elementRef , protected readonly eventDispatcher , protected readonly ngZone , protected readonly notifier , protected readonly table ) { super ( ) ; } }