Change font dynamicly

Hi there,
I want to change “p” text-font when i click the button so any advise ?

Look at Angular’s ngClass and ngStyle directives to do this.

Nice tutorial at: https://scotch.io/tutorials/angular-2-classes-with-ngclass-and-ngstyle

1 Like

Thanks it work :slight_smile: