You need to sign in to do that
Don't have an account?
Matt Schetselaar
Conditionally change link color in lightning component
Has anyone successfully changed the color of a link in a Lightning Component based on some attribute on the Component? I can change the link color all the time but not conditionally.
Greetings to you!
Please refer to the below links which might help you further with the above requirement.
https://salesforce.stackexchange.com/questions/169671/conditional-coloring-on-a-lightning-component
https://salesforce.stackexchange.com/questions/244019/apply-a-css-class-depending-on-the-value-of-the-auraattribute-in-a-lightning-co
https://salesforce.stackexchange.com/questions/244699/change-cell-text-color-based-on-cell-value-in-lightningdatatable
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
For change link color on hover condition in lightning component use below code
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
www.ajaydubedi.com