Hello friends today post ,how to create a lightning component to use slds-hide/show class, very easy to use class and aplly.. so let us start ... firstly create a lightning component and there are two or three div or anything when you want to hide/show ... so see given bellow example and udes slds-hide/show class Step=>1. goto developer console=>File=>New=>Lightning Component sldshideshow.cmp <aura:component > <aura:attribute name="First" type="string" default="slds-show"/> <aura:attribute name="Second" type="string" default="slds-hide"/> <center> <div class="slds-box" style="width:300px;height:300px;margin-top:15px;"> <div class="{!v.First}"> ...
Comments
Post a Comment