You need to sign in to do that
Don't have an account?
Niraj Singh 28
How can i redirect to another component using anchor tag
I have needed to redirect on another component after clicking on an image.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Greetings to you!
You can use lightning:navigation with the anchor tag.
Component:
Controller:
Don't forget to implement lightning:isUrlAddressable in both the component.
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
Please go through the link below.
https://salesforce.stackexchange.com/questions/137876/anchor-tag-equivalent-in-lightning-component
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha