Newer Version Available
Using the Action Type
An Aura.Action is a reference to an action in the
framework. You can pass an Aura.Action around so the
receiving component can execute the action in its client-side controller.
Use $A.enqueueAction() to add client-side or server-side controller actions to the queue of actions to be executed.
The Aura Note sample app uses Aura.Action in the listRow component.
listRow.cmp
The onclick attribute has type="Aura.Action".
noteListRow.cmp
The noteListRow component extends the listRow component and sets the value for the onclick attribute in listRow to {!c.openNote}, which is a reference to an action in the client-side controller for noteListRow.cmp. The action is executed when a user clicks the bullet associated with <li onclick="{!v.onclick}"> in listRow.