代码之家  ›  专栏  ›  技术社区  ›  Muthukumar Marichamy

角度6材料数据表的角度6量角器测试

  •  0
  • Muthukumar Marichamy  · 技术社区  · 7 年前

    我的角度应用程序有一个数据列表视图,它是由角度材料数据表开发的,如下所示。

    <mat-table class="lessons-table mat-elevation-z8" [dataSource]="dataSource">
        <ng-container matColumnDef="role">
                    <mat-header-cell *matHeaderCellDef mat-sort-header>Role</mat-header-cell>
                    <mat-cell class="description-cell"
                              *matCellDef="let user">{{user.role}}</mat-cell>
                </ng-container>
            <ng-container matColumnDef="email">
                <mat-header-cell *matHeaderCellDef mat-sort-header>Email</mat-header-cell>
                <mat-cell class="description-cell fontSize10px"
                          *matCellDef="let user" matTooltip="{{user.email}}">
    
                          {{showEmail(user.email)}}</mat-cell>
            </ng-container>
    </mat-table>
    

    0 回复  |  直到 7 年前