Created
January 15, 2019 13:18
-
-
Save NishuGoel/3cea7023c8933b001e7d4ca7b1d30690 to your computer and use it in GitHub Desktop.
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
<h1 align = "center" [ngClass]="{'class1': class1 }">See the change in CSS :) </h1> | |
<app-child [classname]="class1" (change)= 'displayChange($event)'></app-child> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment