Skip to content

Instantly share code, notes, and snippets.

@NishuGoel
Created January 15, 2019 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NishuGoel/3cea7023c8933b001e7d4ca7b1d30690 to your computer and use it in GitHub Desktop.
Save NishuGoel/3cea7023c8933b001e7d4ca7b1d30690 to your computer and use it in GitHub Desktop.
<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