Skip to content

[Solved] How can I use icon from font-awesome ? #79

Answered by borisBelloc
borisBelloc asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, I found the solution, i'm a bit slow, I hope It can help someone else 👍

In the breadcrumb template :
<span *ngIf="info"><i class="{{info}}"></i></span>

in the breadcrumb data, just give the font-awesome class :

    data: {
      breadcrumb: {
        label: 'Home',
        info: 'fas fa-home'
      },
    },

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by borisBelloc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant