Lightning: Attributes Data Types

Attributes of any lightning components support following data types –

1. Primitive Data Types ( remember as B DD DD ILS)
Boolean
Double
Date
Date Time
Decimal
Integer
Long
String

2. Standard and Custom Objects

3. List, Set, Map

4. Custom Apex Classes

5. Framework – specific types such as Aura.Component or Aura.Component[ ]

Leave a Reply

Your email address will not be published. Required fields are marked *