Activity Forums Salesforce® Discussions What is the functionality of <aura:iteration> in Salesforce Lightning ?

  • What is the functionality of <aura:iteration> in Salesforce Lightning ?

    Posted by Arun on February 12, 2020 at 11:24 am

    What is the functionality of <aura:iteration> in Salesforce Lightning ?

    Kirandeep replied 4 years, 9 months ago 3 Members · 2 Replies
  • 2 Replies
  • Anjali

    Member
    February 12, 2020 at 2:28 pm

    aura:iteration-

    iterates over a collection of items and renders the body of the tag for each item. Data changes in the collection are rerendered automatically on the page. It also supports iterations containing components that are created exclusively on the client-side or components that have server-side dependencies.

  • Kirandeep

    Member
    February 12, 2020 at 4:35 pm

    Hi arun,

    aura:iteration iterates over a collection of items and renders the body of the tag for each item.

    <aura:component>
    
    	 <aura:iteration items="1,2,3,4,5" var="item">
            <meter value="{!item / 5}"/><br/>
        </aura:iteration>
    
    </aura:component>

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos