Attributes and Expressions
Terms in this set (7)
How do you enable a component to accept input (set values on the component) when it is created?
You use attributes.
What do you use to change a components behavior and output?
You use attributes
How are attributes on components like instance variables on objects?
They're a way to save values that change, and a way to name those value placeholders.
When to you set a component's attributes?
When you create it.
How/when do you change a component's attributes?
You can change them over the course of your component's lifecycle, in response to actions the user takes, or events that happen elsewhere, and so on.
How do you define attributes for a component?
An attribute is defined using an <aura:attribute> tag.
The <aura:attribute> tag requires what two attributes?
The name and type attributes, and accepts the default, description, and required attributes optionally.
OTHER SETS BY THIS CREATOR
Logic and Process Automation 33%
Salesforce Community Cloud Consultant Exam