Activity › Forums › Salesforce® Discussions › What is the use of aura:iteration tag in Salesforce Lightning Aura Component?
Tagged: Aura Components, Client Side Components, Salesforce Aura Iteration, Salesforce Lightning Component, Server-Side Dependencies
-
What is the use of aura:iteration tag in Salesforce Lightning Aura Component?
Posted by Arun on January 30, 2020 at 1:20 PMWhat is the use of <aura:iteration > tag in Salesforce Lightning Aura Component?
Kirandeep replied 6 years, 3 months ago 5 Members · 4 Replies -
4 Replies
-
aura:iteration iterates over a collection of items and renders the body of the tag for each item.
-
This reply was modified 6 years, 3 months ago by
Forcetalks.
-
This reply was modified 6 years, 3 months ago by
- [adinserter block='9']
-
Hello Arun,
Aura:iteration tag lets us iterate over an array or collection of items in Salesforce.
-
This reply was modified 6 years, 3 months ago by
Forcetalks.
-
This reply was modified 6 years, 3 months ago by
-
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 6 years, 3 months ago by
Forcetalks.
-
This reply was modified 6 years, 3 months ago by
-
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 6 years, 3 months ago by
Forcetalks.
-
This reply was modified 6 years, 3 months ago by
Log In to reply.