FortAwesome / angular-fontawesome

Official Angular component for Font Awesome 5+
https://fontawesome.com
MIT License
1.49k stars 152 forks source link

Upgraded from v0.14 to v.0.15 and now I get an error: "Can't bind to 'spin' since it isn't a known property of 'fa-icon'." #447

Closed toddhd closed 5 months ago

toddhd commented 5 months ago

Describe the problem

I recently upgraded from FA v.0.14.x to v.0.15.x and when I did, I started to see an error message stating that "Can't bind to 'spin' since it isn't a known property of 'fa-icon'."

What did you expect?

I expected not to see an error.

Reproducible test case

[](https://stackblitz.com/edit/angular-ivy-2flzzn?file=src%2Fapp%2Fapp.component.html)

Angular 18.x, FA 0.15.x, Node 20.12.2, Material 3.x

toddhd commented 5 months ago

Please close this, I just saw the notice that spin has been deprecated.

https://github.com/FortAwesome/angular-fontawesome/blob/main/docs/upgrading/0.14.0-0.15.0.md

garethrpratt commented 5 months ago

@toddhd hope you can help, did this work for you? If I change your example as per the upgrade instructions, it compiles, but the icon does not spin