Activity Forums Salesforce® Discussions What are the required parameter for attributes in lightning component?

  • Shweta

    Member
    July 6, 2020 at 3:35 pm

    These are the Parameter for attributes:
    Access: Indicates whether the attribute can be used outside of its own namespace. Possible values are public (default), and global, and private.
    Name: It is required and must be provided.
    Type: Type of the attribute. It could be any of the types that we discussed above like String, Boolean, etc.
    Default: The default value that you want to provide to the attribute.
    Required: It contains boolean value true or false. The default value is false.
    Description: A brief summary of the attribute and its usage.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos