Skip to content

Commit ee079ad

Browse files
[office-js][office-js-preview] (Outlook) Document additional drag-and-drop properties (DefinitelyTyped#74236)
1 parent 961f858 commit ee079ad

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed

types/office-js-preview/index.d.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14974,6 +14974,24 @@ declare namespace Office {
1497414974
* [Api set: Mailbox 1.5]
1497514975
*/
1497614976
pageY: number;
14977+
/**
14978+
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
14979+
* The position is relative to the left edge of the add-in's task pane.
14980+
*
14981+
* @remarks
14982+
*
14983+
* [Api set: Mailbox 1.5]
14984+
*/
14985+
taskPaneX: number;
14986+
/**
14987+
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
14988+
* The position is relative to the top edge of the add-in's task pane.
14989+
*
14990+
* @remarks
14991+
*
14992+
* [Api set: Mailbox 1.5]
14993+
*/
14994+
taskPaneY: number;
1497714995
/**
1497814996
* Gets the type of drag-and-drop event. The `dragover` event occurs when messages or file attachments are dragged over an add-in's task pane.
1497914997
*
@@ -15020,6 +15038,24 @@ declare namespace Office {
1502015038
* [Api set: Mailbox 1.5]
1502115039
*/
1502215040
pageY: number;
15041+
/**
15042+
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
15043+
* The position is relative to the left edge of the add-in's task pane.
15044+
*
15045+
* @remarks
15046+
*
15047+
* [Api set: Mailbox 1.5]
15048+
*/
15049+
taskPaneX: number;
15050+
/**
15051+
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
15052+
* The position is relative to the top edge of the add-in's task pane.
15053+
*
15054+
* @remarks
15055+
*
15056+
* [Api set: Mailbox 1.5]
15057+
*/
15058+
taskPaneY: number;
1502315059
/**
1502415060
* Gets the type of drag-and-drop event. The `drop` event occurs when messages or file attachments are dropped into an add-in's task pane.
1502515061
*

types/office-js/index.d.ts

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14535,6 +14535,24 @@ declare namespace Office {
1453514535
* [Api set: Mailbox 1.5]
1453614536
*/
1453714537
pageY: number;
14538+
/**
14539+
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
14540+
* The position is relative to the left edge of the add-in's task pane.
14541+
*
14542+
* @remarks
14543+
*
14544+
* [Api set: Mailbox 1.5]
14545+
*/
14546+
taskPaneX: number;
14547+
/**
14548+
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
14549+
* The position is relative to the top edge of the add-in's task pane.
14550+
*
14551+
* @remarks
14552+
*
14553+
* [Api set: Mailbox 1.5]
14554+
*/
14555+
taskPaneY: number;
1453814556
/**
1453914557
* Gets the type of drag-and-drop event. The `dragover` event occurs when messages or file attachments are dragged over an add-in's task pane.
1454014558
*
@@ -14575,11 +14593,30 @@ declare namespace Office {
1457514593
/**
1457614594
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
1457714595
* The position is relative to the top edge of the Outlook on the web or the new Outlook on Windows client window.
14596+
*
1457814597
* @remarks
1457914598
*
1458014599
* [Api set: Mailbox 1.5]
1458114600
*/
1458214601
pageY: number;
14602+
/**
14603+
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
14604+
* The position is relative to the left edge of the add-in's task pane.
14605+
*
14606+
* @remarks
14607+
*
14608+
* [Api set: Mailbox 1.5]
14609+
*/
14610+
taskPaneX: number;
14611+
/**
14612+
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
14613+
* The position is relative to the top edge of the add-in's task pane.
14614+
*
14615+
* @remarks
14616+
*
14617+
* [Api set: Mailbox 1.5]
14618+
*/
14619+
taskPaneY: number;
1458314620
/**
1458414621
* Gets the type of drag-and-drop event. The `drop` event occurs when messages or file attachments are dropped into an add-in's task pane.
1458514622
*

0 commit comments

Comments
 (0)