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 have not been successful in changing fa icons on click. Can anyone help me determine how I can change the icons for the buttons in the table rows?
$.table.addEventListener('click',function(e){ if(e.source.toString() == '[object TiUIButton]') { if(e.source.icon=='fa-star-o') { $.fa.change(e.source,'fa-star'); } if(e.source.icon=='fa-star') { $.fa.change(e.source,'fa-star-o'); } } });
The text was updated successfully, but these errors were encountered:
can you confirm that e.source.icon is not undefined?
Sorry, something went wrong.
No branches or pull requests
I have not been successful in changing fa icons on click. Can anyone help me determine how I can change the icons for the buttons in the table rows?
The text was updated successfully, but these errors were encountered: