Aura if else condition in salesforce lightning
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLCVVQ-HL_llgxrQQ8W3bawW1niv5Tvq76ndgZngRJWEXxkbHEHVV3iNty3-tDQHHi-ujtb5p6ZhBdo-H4SArGAMxqDFdg_XU4zpG4qbcuqHtPzTDDu0zEUzkBgAGHMtTE6lY_aMVu1Zk/s320/sc1.png)
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes" access="global" > <aura:attribute name="FirstName" type="String"/> <aura:attribute name="LastName" type="String"/> <aura:attribute name="mobile" type="Integer"/> <aura:attribute name="Email" type="String"/> <aura:attribute name="details" type="boolean" default="true" /> <aura:renderIf isTrue="{!v.details}"> <div align="center" style="width:300px;"> <lightning:input type="Text" label="FirstName" placeholder="Please enter FirstName" aura:id="FirstName" value="{!v.FirstName}" updateOn="keyup" /> ...