The framework uses events to communicate data between components. Events are usually triggered by a user action. A client-side controller handles events within a component. It’s a JavaScript resource that defines the functions for all of the component’s actions.