Has Event Context

clients:hasEventContext

Provides context for event information. Use this interface to interact with the mail clients.

To provide a component with an event's date or location, implement the clients:hasEventContext interface. This interface is used with clients:availableForMailAppAppPage to make a component available in Lightning for Outlook or Lightning for Gmail. For example, to provide an event's date:

To ensure that custom components appear correctly in Lightning for Outlook or Lightning for Gmail, enable them to adjust to variable widths.

For more information, see the Lightning Aura Components Developer Guide.

NameDescriptionTypeDefaultRequired
datesRead-only. An object representing the item context pertinent to the appointment.object
locationRead-only. The location of the current event.string