Created
July 16, 2018 23:54
-
-
Save ZackDeRose/3d0dda66879f9ace1dd00f21b265b32d to your computer and use it in GitHub Desktop.
Snippet for "Level Up" column of "Angular CDK Tables" article
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Level Up Column --> | |
<ng-container cdkColumnDef="levelUp"> | |
<th cdk-header-cell *cdkHeaderCellDef></th> | |
<td cdk-cell *cdkCellDef="let row"> | |
<button (click)="levelUp(row.name)">Level Up!!!</button> | |
</td> | |
</ng-container> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment