(3)-c-1. Add/Edit Custom Attributes

【Add Custom Attribute】               【Edit Custom Attribute】


Property

Detail 

name

Set the name of custom attribute

Only Alphanumeric characters, Numbers, and Underscores can be used. The names starting with "sve_" may be checked. 

type

Set the custom attribute 

Basic Types (Boolean、Date、DateTime、Decimal、Double、Integer、Long、String)

Object Types (Object)

Collection Types (List、Map、Set)

Unique Framework Types  (Aura.Component、Aura.Action)

Object Types (Standard Object Types and Custom Object Types that is connected to Salesforce Org. )

Property Detail
TypeClick the loupe icon to set the custom type 

Array types can also be set (例:String[])

defaultSet the default value on custom attributes
access

Set accessibility to outside of the unique namespace for the custom attribute

unspecified,public,global,private

required

Set whether the attribute is required or not. 

true,false

descriptionSet the overall description of the custom attribute or the function 


Please refer to < https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_attributes.htm > for more information on custom types.