Event Reference

Use out-of-the-box events to enable component interaction within Lightning Experience or Salesforce1, or within your Lightning components. For example, these events enable your components to open a record create or edit page, or navigate to a record.

Events belong to different namespaces, including:

force
Provides events that are handled by Lightning Experience and Salesforce1.
forceCommunity
Provides events that are handled by Communities.
lightning
Provides events that are handled by Lightning Experience, Salesforce1, and Communities.
ltng
Provides events that send the record ID or generic message to another component.
ui
Provides events that are handled by the legacy ui components.
wave
Provides events that are handled by Wave Analytics.
If you fire one of these force or lightning events in your Lightning apps or components outside of Salesforce1 or Lightning Experience:
  • You must handle the event by using the <aura:handler> tag in the handling component.
  • Use the <aura:registerEvent> or <aura:dependency> tags to ensure that the event is sent to the client, when needed.