I need some help here. I have read through all the threads regarding FA 5 and I am still not sure how to do this.
I want to use the FA icon as the link in an a tag within javascript. Here is how I would normally use the Twitter icon as the link, but it is not working:
if (userFields && userFields[userFieldId]) {
const url = userFields[userFieldId];
const link = "<a href='"+url+"' target='_blank'><i class="fab fa-twitter"></i></a>";
return Ember.Object.create({ link, name: twitterUsernameField.get('name') });
} else { ....
I am looking for a concrete example or the exact series of steps I need to take to get this to work.
Cheers