Has Event Context

clients:hasEventContext

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

::::::tabset{tabs='[ "Develop", "Specifications"]'}

:::::tab

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:

dates: {
        "start": value (String),
        "end": value (String),
}

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.

:::::

:::::tab

Attributes

Name Description Type Default Required
dates Read-only. An object representing the item context pertinent to the appointment. object
location Read-only. The location of the current event. string

:::::

::::::