/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/material/table/table-text-column-advanced/table-text-column-advanced-example.html
15 строк
671 B
Kristiyan Kostadinov
docs: use proper shadow classes in examples (#33494)
06 июл 2026, 11:10
Не верифицирован
06 июл 2026, 11:10
76f5be0
Код
Авторство
О чём код?
<table mat-table [dataSource]="dataSource" class="mat-shadow-2"> <mat-text-column name="position" [headerText]="headerText"></mat-text-column> <!-- Change the header text. --> <mat-text-column name="name" headerText="Element"></mat-text-column> <!-- Provide a data accessor for getting the cell text values. --> <mat-text-column name="weight" [dataAccessor]="getWeight"></mat-text-column> <!-- Justify the content of the cells to the cell end. --> <mat-text-column name="symbol" justify="end"></mat-text-column> <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr> <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr> </table>