Tag: Lightning Components

Passing action handlers to child components using Aura.Action

Last week I discovered something about Lightning Components I didn’t know about: aura:action. This is an attribute type that you can use to pass actions to a child component, in addition to the other supported attribute types, and it can be specially helpful if you want to decide at component instantiation which actions should the child component perform.

Continue reading “Passing action handlers to child components using Aura.Action”

Creating pre-populated records with lightning:recordEditForm

A typical use case when creating records is to populate some fields in advance, and then let the user fill in the rest of required fields. Let’s say that we want to create account records, having a pre-populated description, like this:

Continue reading “Creating pre-populated records with lightning:recordEditForm”

Bound and unbound expressions in Lightning Components

Today I want to take a look at the data binding possibilities that exist for Lightning Components attributes. We will see how attributes can be referenced using bound or unbound expressions, and which implications will these bindings have in our application.

Continue reading “Bound and unbound expressions in Lightning Components”

5 #Lightning tips for Visualforce devs

…Originally posted in medium

Are you a Visualforce developer? Do you want to transition to #Lightning? Don’t be scared about it! Lightning Components is a new technology that can seem very different to Visualforce, as the way of programming is pretty different. Despite the learning curve is a bit sharped, once you have acquired skills on Lightning Components development, you will develop components at the speed of light, in comparison with Visualforce development! So, don’t miss the next 5 tips:

Continue reading “5 #Lightning tips for Visualforce devs”