aura:iteration

In this blog, I am going to show how to use the aura:iteration to renders a view of a collection of items. aura:iteration iterates over a collection of items and renders the body of the tag for each item. The Below are the different examples to show how you can use iteration.

Simple iteration

In this example, we are iterating over the array of String.

Nested Iteration

The following code nested iteration

Object iteration

The following example shows iteration over the Javascript object

Wrapper Class Iteration

The Following Example shows how to iterate   the wrapper class collections

Server Side Controller 

The following example shows how to iterate the server-side data

Iteration Index

The Following code shows how to get the index of iteration position.