• #31930
    Forcetalks

    What is the use of renderIf in Salesforce lightning component?

    What is the use of renderIf in Salesforce lightning component?

    Tagged: , ,

    #31949
    Salesforce | Parul Parul #1
    Forcetalks

    Hello Anurag,

    aura:renderIf : If you expect to show the components for both the true and false states use renderif, and it would require a server round trip to instantiate the components that aren’t initially rendered.

    #34216
    Salesforce | shariq shariq #2
    Forcetalks

    Hi,

    It is basically used for show and hide the components.

    To add more – aura:renderIf  is deprecated as I read on developer.salesforce, use aura:if

    <aura:component>
    <aura:if isTrue=”{!v.truthy}”>
    True
    <aura:set attribute=”else”>
    False
    </aura:set>
    </aura:if>
    </aura:component>

    Hope this helps.

Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?