Activity Forums Salesforce® Discussions Can we include one lightning component to another ?

  • Anjali

    Member
    September 17, 2018 at 1:58 pm

    Hi Anurag,

    Yes, we can include one Lightning component in another Lightning component.

  • Parul

    Member
    September 17, 2018 at 5:33 pm

    Hi

    Yes, you can include one lightning component to another as a parent and child component.

    for examp:

    <aura:component >

    <lightning:tabset selectedTabId="openCases">

    <lightning:tab label="Open Cases" id="openCases">
    <c:Medicine_Community_Case_Component_Datatable caseType="open"/> // child component.
    </lightning:tab>

    </aura:component >

    For more detail, you can refer blog.

     

    Thanks

  • shariq

    Member
    September 17, 2018 at 6:31 pm

    Hi,

    Yes you can - 

    Hope this helps

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos