RSS Feed/News XF.Icon.getIcon does not support "brands" variant

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
27,320
Points
823

Reputation:

As said in the title.

For example, XF.Icon.getIcon('brands', 'airbnb') returns the following:
HTML:

<i class="fa--xf far fa-airbnb"><svg xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" ><use href="/data/local/icons/regular.svg?v=1711360995#airbnb"></use></svg></i>

Continue reading...
 
Status
Not open for further replies.
Top