We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to be able to change the icon from JavaScript like so:
el.name = 'fa-chevron-up';
Simply setting the property doesn't change the icon, and I can't find any way to force it re-render or something.
The text was updated successfully, but these errors were encountered:
hey, it should work now. I had something wrong deep inside change detection. Had to rewrite it 2 times ..
both el.name = "fa-chevron-up" and el.setAttribute("name","fa-chevron-up") should work
el.name = "fa-chevron-up"
el.setAttribute("name","fa-chevron-up")
Sorry, something went wrong.
No branches or pull requests
I'd like to be able to change the icon from JavaScript like so:
el.name = 'fa-chevron-up';
Simply setting the property doesn't change the icon, and I can't find any way to force it re-render or something.
The text was updated successfully, but these errors were encountered: