May I ask how to keep using FA in the latest version?

UI Components for Angular
Post Reply
yeweinan
Posts: 14
Joined: 18 Jan 2018, 06:58

08 Jun 2018, 01:52

Hi team,

It looks like in the template, the pi pi- labels are hard coded, is that means we don't have any possibility to configure that back to fa fa- ?

Thanks

yeweinan
Posts: 14
Joined: 18 Jan 2018, 06:58

25 Jun 2018, 03:07

Hi,

Any luck on this topic? Or am I the only one who has this concern?

Thanks

Rincewind
Posts: 4
Joined: 26 Jun 2018, 08:31

27 Jun 2018, 12:15

From https://www.primefaces.org/primeng-6-0- ... rimeicons/
Using Font-Awesome

Prior to 6.0, font-awesome icons were provided only with the icon name without the .fa addon such as:
<button pButton icon="fa-check"></button>

In 6.0, add .fa prefix to keep continue using font-awesome:
<button pButton icon="fa fa-check"></button>

This change also allows using any other icon library, you may also mix different libraries like PrimeIcons, FontAwesome and more.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests