Newer Version Available
Object Types
An attribute can have a type corresponding to an Object.
For example, you may want to create an attribute of type Object to pass a JavaScript array as an event parameter. In the component event, declare the event parameter using aura:attribute.
In JavaScript code, you can set the attribute of type Object.