Skip to content

Instantly share code, notes, and snippets.

@keirbowden
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keirbowden/52506c3c7dfc750e385d to your computer and use it in GitHub Desktop.
Save keirbowden/52506c3c7dfc750e385d to your computer and use it in GitHub Desktop.
Lightning Application to Retrieve Cases and Iterate
<aura:application controller="CasesController">
<aura:attribute type="Case[]" name="cases" description="casesToIterate" />
<aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
<aura:iteration items="{!v.cases}" var="case">
<c:RWDCase case="{!case}" />
</aura:iteration>
</aura:application>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment