Problem with Icons in the Menus
Posted: 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!!
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!!