license import { CdkTree } from '@angular/cdk/tree' ; import { ChangeDetectionStrategy , Component , ViewChild , ViewEncapsulation } from '@angular/core' ; import { MatTreeNodeOutlet } from './outlet' ; export const _CdkTree = CdkTree ; /**
 * Wrapper for the CdkTable with Material design styles.
 */ @ Component ( { moduleId : module . id , selector : 'mat-tree' , exportAs : 'matTree' , template : `<ng-container matTreeNodeOutlet></ng-container>` , host : { 'class' : 'mat-tree' , 'role' : 'tree' , } , styleUrls : [ 'tree.css' ] , encapsulation : ViewEncapsulation . None , changeDetection : ChangeDetectionStrategy . OnPush , providers : [ { provide : CdkTree , useExisting : MatTree } ] } ) export class MatTree < T > extends _CdkTree < T > { @ ViewChild ( MatTreeNodeOutlet ) _nodeOutlet : MatTreeNodeOutlet ; }