Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions docs/docs-ref-autogen/office/office/office.eventtype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,30 @@ fields:
uid: office!Office.EventType.DocumentSelectionChanged:member
package: office!
summary: Triggers when a document-level selection happens in Excel or Word.
- name: DragAndDropEvent
uid: office!Office.EventType.DragAndDropEvent:member
package: office!
summary: >-
Occurs in Outlook on the web and the new Outlook on Windows when messages
or file attachments in the Outlook client window are dragged then dropped
into the task pane of an add-in.


To add an event handler for the `DragAndDropEvent` event, use the
`addHandlerAsync` method of the `Mailbox` object. The event handler
receives an argument of type
[Office.DragAndDropEventArgs](https://learn.microsoft.com/javascript/api/outlook/office.draganddropeventargs)<!--
-->.


**Important**: The `DragAndDropEvent` event isn't supported in Outlook
on Windows (classic) and on Mac. If the `DragAndDropEvent` handler runs on
these clients, an error occurs ("This event isn't supported on this
platform.").


\[ [API set: Mailbox
1.5](/office/dev/add-ins/reference/javascript-api-for-office) \]
- name: EnhancedLocationsChanged
uid: office!Office.EventType.EnhancedLocationsChanged:member
package: office!
Expand Down Expand Up @@ -245,30 +269,6 @@ fields:
`addHandlerAsync` method of the `Mailbox` object.


\[ [API set: Mailbox
1.5](/office/dev/add-ins/reference/javascript-api-for-office) \]
- name: ItemDraggedAndDropped
uid: office!Office.EventType.ItemDraggedAndDropped:member
package: office!
summary: >-
Occurs in Outlook on the web and the new Outlook on Windows when messages
or file attachments in the Outlook client window are dragged then dropped
into the task pane of an add-in.


To add an event handler for the `ItemDraggedAndDropped` event, use the
`addHandlerAsync` method of the `Mailbox` object. The event handler
receives an argument of type
[Office.DragAndDropEventArgs](https://learn.microsoft.com/javascript/api/outlook/office.draganddropeventargs)<!--
-->.


**Important**: The `ItemDraggedAndDropped` event isn't supported in
Outlook on Windows (classic) and on Mac. If the `ItemDraggedAndDropped`
handler runs on these clients, an error occurs ("This event isn't
supported on this platform.").


\[ [API set: Mailbox
1.5](/office/dev/add-ins/reference/javascript-api-for-office) \]
- name: NodeDeleted
Expand Down
4 changes: 2 additions & 2 deletions docs/docs-ref-autogen/office/office/office.officetheme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ properties:
fullName: fluentThemeData
summary: Gets the Office host native theme.
remarks: >-
**Important**: The `fluentThemeData` property is only supported on
Win32.
**Important**: The `fluentThemeData` property is only supported on the
Excel, PowerPoint, and Word desktop clients for Windows.

isPreview: false
isDeprecated: false
Expand Down
48 changes: 24 additions & 24 deletions docs/docs-ref-autogen/office_release/office/office.eventtype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,30 @@ fields:
uid: office!Office.EventType.DocumentSelectionChanged:member
package: office!
summary: Triggers when a document-level selection happens in Excel or Word.
- name: DragAndDropEvent
uid: office!Office.EventType.DragAndDropEvent:member
package: office!
summary: >-
Occurs in Outlook on the web and the new Outlook on Windows when messages
or file attachments in the Outlook client window are dragged then dropped
into the task pane of an add-in.


To add an event handler for the `DragAndDropEvent` event, use the
`addHandlerAsync` method of the `Mailbox` object. The event handler
receives an argument of type
[Office.DragAndDropEventArgs](https://learn.microsoft.com/javascript/api/outlook/office.draganddropeventargs)<!--
-->.


**Important**: The `DragAndDropEvent` event isn't supported in Outlook
on Windows (classic) and on Mac. If the `DragAndDropEvent` handler runs on
these clients, an error occurs ("This event isn't supported on this
platform.").


\[ [API set: Mailbox
1.5](/office/dev/add-ins/reference/javascript-api-for-office) \]
- name: EnhancedLocationsChanged
uid: office!Office.EventType.EnhancedLocationsChanged:member
package: office!
Expand Down Expand Up @@ -245,30 +269,6 @@ fields:
`addHandlerAsync` method of the `Mailbox` object.


\[ [API set: Mailbox
1.5](/office/dev/add-ins/reference/javascript-api-for-office) \]
- name: ItemDraggedAndDropped
uid: office!Office.EventType.ItemDraggedAndDropped:member
package: office!
summary: >-
Occurs in Outlook on the web and the new Outlook on Windows when messages
or file attachments in the Outlook client window are dragged then dropped
into the task pane of an add-in.


To add an event handler for the `ItemDraggedAndDropped` event, use the
`addHandlerAsync` method of the `Mailbox` object. The event handler
receives an argument of type
[Office.DragAndDropEventArgs](https://learn.microsoft.com/javascript/api/outlook/office.draganddropeventargs)<!--
-->.


**Important**: The `ItemDraggedAndDropped` event isn't supported in
Outlook on Windows (classic) and on Mac. If the `ItemDraggedAndDropped`
handler runs on these clients, an error occurs ("This event isn't
supported on this platform.").


\[ [API set: Mailbox
1.5](/office/dev/add-ins/reference/javascript-api-for-office) \]
- name: NodeDeleted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ properties:
fullName: fluentThemeData
summary: Gets the Office host native theme.
remarks: >-
**Important**: The `fluentThemeData` property is only supported on
Win32.
**Important**: The `fluentThemeData` property is only supported on the
Excel, PowerPoint, and Word desktop clients for Windows.

isPreview: false
isDeprecated: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullName: Office.DragAndDropEventArgs
summary: >-
Provides details about the mouse pointer position and the messages or file
attachments being dragged and dropped into an add-in's task pane when the
`Office.EventType.ItemDraggedAndDropped` event is raised.
`Office.EventType.DragAndDropEvent` event is raised.
remarks: >-
\[ [API set: Mailbox
1.5](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
Expand Down
2 changes: 1 addition & 1 deletion generate-docs/API Coverage Report.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7262,11 +7262,11 @@ Office.EventType,"DialogEventReceived",EnumField,Good,false
Office.EventType,"DialogMessageReceived",EnumField,Good,false
Office.EventType,"DialogParentMessageReceived",EnumField,Good,false
Office.EventType,"DocumentSelectionChanged",EnumField,Good,false
Office.EventType,"DragAndDropEvent",EnumField,Excellent,false
Office.EventType,"EnhancedLocationsChanged",EnumField,Excellent,false
Office.EventType,"InfobarClicked",EnumField,Excellent,false
Office.EventType,"InitializationContextChanged",EnumField,Excellent,false
Office.EventType,"ItemChanged",EnumField,Excellent,false
Office.EventType,"ItemDraggedAndDropped",EnumField,Excellent,false
Office.EventType,"NodeDeleted",EnumField,Fine,false
Office.EventType,"NodeInserted",EnumField,Fine,false
Office.EventType,"NodeReplaced",EnumField,Fine,false
Expand Down
8 changes: 4 additions & 4 deletions generate-docs/api-extractor-inputs-office-release/office.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -683,16 +683,16 @@ export declare namespace Office {
* Occurs in Outlook on the web and the new Outlook on Windows when messages or file attachments in the Outlook client window are
* dragged then dropped into the task pane of an add-in.
*
* To add an event handler for the `ItemDraggedAndDropped` event, use the `addHandlerAsync` method of the `Mailbox` object.
* To add an event handler for the `DragAndDropEvent` event, use the `addHandlerAsync` method of the `Mailbox` object.
* The event handler receives an argument of type
* {@link https://learn.microsoft.com/javascript/api/outlook/office.draganddropeventargs | Office.DragAndDropEventArgs}.
*
* **Important**: The `ItemDraggedAndDropped` event isn't supported in Outlook on Windows (classic) and on Mac. If the `ItemDraggedAndDropped` handler
* **Important**: The `DragAndDropEvent` event isn't supported in Outlook on Windows (classic) and on Mac. If the `DragAndDropEvent` handler
* runs on these clients, an error occurs ("This event isn't supported on this platform.").
*
* [Api set: Mailbox 1.5]
*/
ItemDraggedAndDropped,
DragAndDropEvent,
/**
* Triggers when a `customXmlPart` node is deleted.
*/
Expand Down Expand Up @@ -7270,7 +7270,7 @@ export declare namespace Office {
*
* @remarks
*
* **Important**: The `fluentThemeData` property is only supported on Win32.
* **Important**: The `fluentThemeData` property is only supported on the Excel, PowerPoint, and Word desktop clients for Windows.
*/
fluentThemeData?: object;
}
Expand Down
8 changes: 4 additions & 4 deletions generate-docs/api-extractor-inputs-office/office.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -683,16 +683,16 @@ export declare namespace Office {
* Occurs in Outlook on the web and the new Outlook on Windows when messages or file attachments in the Outlook client window are
* dragged then dropped into the task pane of an add-in.
*
* To add an event handler for the `ItemDraggedAndDropped` event, use the `addHandlerAsync` method of the `Mailbox` object.
* To add an event handler for the `DragAndDropEvent` event, use the `addHandlerAsync` method of the `Mailbox` object.
* The event handler receives an argument of type
* {@link https://learn.microsoft.com/javascript/api/outlook/office.draganddropeventargs | Office.DragAndDropEventArgs}.
*
* **Important**: The `ItemDraggedAndDropped` event isn't supported in Outlook on Windows (classic) and on Mac. If the `ItemDraggedAndDropped` handler
* **Important**: The `DragAndDropEvent` event isn't supported in Outlook on Windows (classic) and on Mac. If the `DragAndDropEvent` handler
* runs on these clients, an error occurs ("This event isn't supported on this platform.").
*
* [Api set: Mailbox 1.5]
*/
ItemDraggedAndDropped,
DragAndDropEvent,
/**
* Triggers when a `customXmlPart` node is deleted.
*/
Expand Down Expand Up @@ -7280,7 +7280,7 @@ export declare namespace Office {
*
* @remarks
*
* **Important**: The `fluentThemeData` property is only supported on Win32.
* **Important**: The `fluentThemeData` property is only supported on the Excel, PowerPoint, and Word desktop clients for Windows.
*/
fluentThemeData?: object;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5109,7 +5109,7 @@ export declare namespace Office {
}
/**
* Provides details about the mouse pointer position and the messages or file attachments being dragged and dropped into an add-in's task pane when the
* `Office.EventType.ItemDraggedAndDropped` event is raised.
* `Office.EventType.DragAndDropEvent` event is raised.
*
* @remarks
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5121,7 +5121,7 @@ export declare namespace Office {
}
/**
* Provides details about the mouse pointer position and the messages or file attachments being dragged and dropped into an add-in's task pane when the
* `Office.EventType.ItemDraggedAndDropped` event is raised.
* `Office.EventType.DragAndDropEvent` event is raised.
*
* @remarks
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5121,7 +5121,7 @@ export declare namespace Office {
}
/**
* Provides details about the mouse pointer position and the messages or file attachments being dragged and dropped into an add-in's task pane when the
* `Office.EventType.ItemDraggedAndDropped` event is raised.
* `Office.EventType.DragAndDropEvent` event is raised.
*
* @remarks
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5336,7 +5336,7 @@ export declare namespace Office {
}
/**
* Provides details about the mouse pointer position and the messages or file attachments being dragged and dropped into an add-in's task pane when the
* `Office.EventType.ItemDraggedAndDropped` event is raised.
* `Office.EventType.DragAndDropEvent` event is raised.
*
* @remarks
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5447,7 +5447,7 @@ export declare namespace Office {
}
/**
* Provides details about the mouse pointer position and the messages or file attachments being dragged and dropped into an add-in's task pane when the
* `Office.EventType.ItemDraggedAndDropped` event is raised.
* `Office.EventType.DragAndDropEvent` event is raised.
*
* @remarks
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5522,7 +5522,7 @@ export declare namespace Office {
}
/**
* Provides details about the mouse pointer position and the messages or file attachments being dragged and dropped into an add-in's task pane when the
* `Office.EventType.ItemDraggedAndDropped` event is raised.
* `Office.EventType.DragAndDropEvent` event is raised.
*
* @remarks
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2564,7 +2564,7 @@ export declare namespace Office {
}
/**
* Provides details about the mouse pointer position and the messages or file attachments being dragged and dropped into an add-in's task pane when the
* `Office.EventType.ItemDraggedAndDropped` event is raised.
* `Office.EventType.DragAndDropEvent` event is raised.
*
* @remarks
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2617,7 +2617,7 @@ export declare namespace Office {
}
/**
* Provides details about the mouse pointer position and the messages or file attachments being dragged and dropped into an add-in's task pane when the
* `Office.EventType.ItemDraggedAndDropped` event is raised.
* `Office.EventType.DragAndDropEvent` event is raised.
*
* @remarks
*
Expand Down
Loading