Using interactions

Interactions are the instructive elements that tell the app what to do in response to "trigger" events. An interaction always has a source component and trigger, and a target component and action. Before the interaction can be established, both the source component and the target component must be in place in your project.

The source component can be any component in the application, or it can be the application itself. For instance, an interaction might be set to do something when a component, such as a Button, is clicked. Or it might be set to do something, such as load a data collection when the application first starts. The events that set the interaction into motion are known as "triggers".

The target component is the recipient of an action triggered by the source component. Very often, the target action is to run a data service associated with the target component, but a wide variety of actions can be proscribed.