Jump to content

Topic on User talk:Praveenraj4ever

Praveenraj4ever (talkcontribs)

Build in Directives

  1. ngIf - achieve if condition > *ngIf= "Condition"
  2. ngStyle - apply dynamic style > [ngStyle]="{backgroundColor : getColor()}"
  3. ngClass - apply style based on condition > [ngClass]="{online : status==='online'}"
Reply to "Angular 5 Cheat Code"