Problem with Icons in the Menus

Post Reply
vithort
Posts: 1
Joined: 09 Jul 2020, 20:46

09 Jul 2020, 21:06

Hello,

I'm trying to customize some menus, but I can't load all the available FontAwesome icons (I'm testing with the free ones).

In the code below, for example, I can only see the Classroom 2 icon, the Classroom 1 icon (fa-chalkboard) does not load at all.

Could someone help me how to solve the problem and load the other icons?

ngOnInit() {
this.model = [
{
label: 'Classroom 1',
icon: 'fa fa-fw fa-chalkboard',
routerLink: ['classroom1'],
},
{
label: 'Classroom 2',
icon: 'fa fa-fw fa-desktop',
routerLink: ['classroom2'],
},
];
}

Thanx for the attention!! :)

Post Reply

Return to “Atlantis - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest