You need to sign in to do that
Don't have an account?
Daniel Fuller
How can you navigate between Lightning Components on a desktop Lightning App?
Good afternoon everyone,
I am currently stuck on an issue while developing a desktop Lightning App. Is there currently any native Lightning events or any way to navigate between Lightning components within a desktop Lightning app? All I have been able to do so far is just hide and show the components with jQuery/Javascript. I have only been able to find navigation-related events that are only supported for Salesforce1 mobile but not desktop Lightning apps.
I look forward to any information you guys can provide. Thanks!
I am currently stuck on an issue while developing a desktop Lightning App. Is there currently any native Lightning events or any way to navigate between Lightning components within a desktop Lightning app? All I have been able to do so far is just hide and show the components with jQuery/Javascript. I have only been able to find navigation-related events that are only supported for Salesforce1 mobile but not desktop Lightning apps.
I look forward to any information you guys can provide. Thanks!
The way I'm handling this is through dynamic component creation. My top level component contains a "content" div with the component that I'm currently using. As I need to move to another component, I dynamically create it and replace the "content" with my new component. It works well, but you do have to jump through the odd hoop around attributes and event handling.