Skip to content

Instantly share code, notes, and snippets.

@StephenFluin
Created February 6, 2020 19:30
Show Gist options
  • Save StephenFluin/3a928ef5eebc56fa57d3d5132cb25c2b to your computer and use it in GitHub Desktop.
Save StephenFluin/3a928ef5eebc56fa57d3d5132cb25c2b to your computer and use it in GitHub Desktop.
<my-component style="color:red;" [style.color]="myColor" [style]="{color: myOtherColor}" myDirective></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment