Activity Forums Salesforce® Discussions What is the use of aura:iteration tag in Salesforce Lightning Aura Component?

  • Ayush

    Member
    January 30, 2020 at 1:31 pm

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

    • This reply was modified 4 years, 10 months ago by  Forcetalks.
  • Udit

    Member
    January 30, 2020 at 2:25 pm

    Hello Arun,

    Aura:iteration tag lets us iterate over an array or collection of items in Salesforce.

     

    • This reply was modified 4 years, 10 months ago by  Forcetalks.
  • Marziya

    Member
    January 30, 2020 at 2:48 pm

    hii Arun,

    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.

    • This reply was modified 4 years, 10 months ago by  Forcetalks.
  • Kirandeep

    Member
    January 30, 2020 at 5:34 pm

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

    for example:-

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

     

    • This reply was modified 4 years, 10 months ago by  Forcetalks.

Log In to reply.

Popular Salesforce Blogs