How to declare list of objects in Salesforce lightning Component?

Sample code:

Component:

<aura:component >
    <aura:attribute name="items" type="Account[]"/>
</aura:component>

Cheers!!!

1 comment: