Compartilhar via


ShowProfileRequest interface

Note

This API is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Input parameters provided to the showProfile API.

Properties

modality

An optional hint to the hosting M365 application about which modality of the profile you want to show.

persona

The information about the persona to show the profile for.

targetElementBoundingRect

The bounding rectangle of the target.

triggerType

Specifies which user interaction was used to trigger the API call.

Property Details

modality

An optional hint to the hosting M365 application about which modality of the profile you want to show.

modality?: Modality

Property Value

persona

The information about the persona to show the profile for.

persona: Persona

Property Value

targetElementBoundingRect

The bounding rectangle of the target.

targetElementBoundingRect: DOMRect

Property Value

DOMRect

triggerType

Specifies which user interaction was used to trigger the API call.

triggerType: TriggerType

Property Value