function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tapasvini MakvanaTapasvini Makvana 

how to hide and show components

Hi,
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..