May 2019
Intermediate to advanced
546 pages
12h 41m
English
To visualize our attribute in the component, we used an expression. The message attribute is displayed as an expression, like {!v.message}. It's just a formula or calculation that's displayed in a textbox, a panel, or a layer.
The expressions are not only used for display purposes but also when you want to execute a method from your JavaScript controller. For example, {!c.handleMyEvent} in the onclick attribute of a button will handle the method with the name handleMyEvent in your component controller.
Read now
Unlock full access