+ Start a Discussion
Tapasvini MakvanaTapasvini Makvana 

how to hide and show components

I have a lightning application in which 2 lightning components are there. Now, I want to show and hide both components based on condition. It means at a time only one component can be displayed.

Can anyone please help to achieve this.
Nayana KNayana K
You can go for <aura:renderif> tag.
Tapasvini MakvanaTapasvini Makvana
yhnx nayana for your rply.
But there are more than 2 components in application. So, Is it possible with renderif ??
And I have menu in my main page and on clicking on menu item I need to display its respctive component.
Can you please help me out.
Thanks in advance..