No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Custom Apex Class Types
An attribute can have a type corresponding to an Apex class. For example, this is an attribute for a Color Apex class:
1swfobject.registerObject("clippy.codeblock-0", "9");<aura:attribute name="color" type="docSampleNamespace.Color" />
2Support for Collections
If an attribute can contain more than one element, use a List or an array.
This aura:attribute tag shows the syntax for a List of Apex objects:
1swfobject.registerObject("clippy.codeblock-1", "9");<aura:attribute name="colorPalette" type="List<docSampleNamespace.Color>" />
2This aura:attribute tag shows the syntax for an array of Apex objects:
1swfobject.registerObject("clippy.codeblock-2", "9");<aura:attribute name="colorPalette" type="docSampleNamespace.Color[]" />
2