Skip to content

Commit 92b9472

Browse files
[All hosts] Get latest (#2243)
1 parent 2b2f76a commit 92b9472

File tree

6 files changed

+64
-22
lines changed

6 files changed

+64
-22
lines changed

docs/docs-ref-autogen/office/office/office.eventtype.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,7 @@ fields:
151151
summary: >-
152152
Occurs in Outlook when an action is selected on a notification message with a defined [custom
153153
action](https://learn.microsoft.com/javascript/api/outlook/office.notificationmessagedetails#actions)<!-- -->.
154-
Currently, "Dismiss" is the only supported action that fires this event.
155-
156-
157-
**Important**: This event can only be handled in a task pane. Function commands can't register a handler for
158-
this event.
154+
Currently, **Dismiss** is the only supported action that fires this event.
159155
160156
161157
To add an event handler for the `InfobarClicked` event, use the `addHandlerAsync` method of the `Item` object. The
@@ -164,6 +160,19 @@ fields:
164160
-->.
165161
166162
163+
**Important**:
164+
165+
166+
- This event can only be handled in a task pane. Function commands can't register a handler for this event.
167+
168+
169+
- Although Outlook on Mac supports the `InsightMessage` notification type, it currently doesn't support the
170+
`InfobarClicked` event. To determine when the **Dismiss** action is selected from the notification, implement
171+
a handler for the `OnInfoBarDismissClicked` event instead. For more information, see [Configure your Outlook
172+
add-in for event-based
173+
activation](https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch#supported-events)<!-- -->.
174+
175+
167176
\[ [API set: Mailbox 1.10](/office/dev/add-ins/reference/javascript-api-for-office) \]
168177
- name: InitializationContextChanged
169178
uid: 'office!Office.EventType.InitializationContextChanged:member'

docs/docs-ref-autogen/office_release/office/office.eventtype.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,7 @@ fields:
151151
summary: >-
152152
Occurs in Outlook when an action is selected on a notification message with a defined [custom
153153
action](https://learn.microsoft.com/javascript/api/outlook/office.notificationmessagedetails#actions)<!-- -->.
154-
Currently, "Dismiss" is the only supported action that fires this event.
155-
156-
157-
**Important**: This event can only be handled in a task pane. Function commands can't register a handler for
158-
this event.
154+
Currently, **Dismiss** is the only supported action that fires this event.
159155
160156
161157
To add an event handler for the `InfobarClicked` event, use the `addHandlerAsync` method of the `Item` object. The
@@ -164,6 +160,19 @@ fields:
164160
-->.
165161
166162
163+
**Important**:
164+
165+
166+
- This event can only be handled in a task pane. Function commands can't register a handler for this event.
167+
168+
169+
- Although Outlook on Mac supports the `InsightMessage` notification type, it currently doesn't support the
170+
`InfobarClicked` event. To determine when the **Dismiss** action is selected from the notification, implement
171+
a handler for the `OnInfoBarDismissClicked` event instead. For more information, see [Configure your Outlook
172+
add-in for event-based
173+
activation](https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch#supported-events)<!-- -->.
174+
175+
167176
\[ [API set: Mailbox 1.10](/office/dev/add-ins/reference/javascript-api-for-office) \]
168177
- name: InitializationContextChanged
169178
uid: 'office!Office.EventType.InitializationContextChanged:member'

generate-docs/api-extractor-inputs-office-release/office.d.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,14 +636,20 @@ export declare namespace Office {
636636
/**
637637
* Occurs in Outlook when an action is selected on a notification message with a defined
638638
* {@link https://learn.microsoft.com/javascript/api/outlook/office.notificationmessagedetails#actions | custom action}.
639-
* Currently, "Dismiss" is the only supported action that fires this event.
640-
*
641-
* **Important**: This event can only be handled in a task pane. Function commands can't register a handler for this event.
639+
* Currently, **Dismiss** is the only supported action that fires this event.
642640
*
643641
* To add an event handler for the `InfobarClicked` event, use the `addHandlerAsync` method of the `Item` object.
644642
* The event handler receives an argument of type
645643
* {@link https://learn.microsoft.com/javascript/api/outlook/office.infobarclickedeventargs?view=outlook-js-1.10 | Office.InfobarClickedEventArgs}.
646644
*
645+
* **Important**:
646+
*
647+
* - This event can only be handled in a task pane. Function commands can't register a handler for this event.
648+
*
649+
* - Although Outlook on Mac supports the `InsightMessage` notification type, it currently doesn't support the `InfobarClicked` event.
650+
* To determine when the **Dismiss** action is selected from the notification, implement a handler for the `OnInfoBarDismissClicked` event instead.
651+
* For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch#supported-events | Configure your Outlook add-in for event-based activation}.
652+
*
647653
* [Api set: Mailbox 1.10]
648654
*/
649655
InfobarClicked,

generate-docs/api-extractor-inputs-office/office.d.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,14 +636,20 @@ export declare namespace Office {
636636
/**
637637
* Occurs in Outlook when an action is selected on a notification message with a defined
638638
* {@link https://learn.microsoft.com/javascript/api/outlook/office.notificationmessagedetails#actions | custom action}.
639-
* Currently, "Dismiss" is the only supported action that fires this event.
640-
*
641-
* **Important**: This event can only be handled in a task pane. Function commands can't register a handler for this event.
639+
* Currently, **Dismiss** is the only supported action that fires this event.
642640
*
643641
* To add an event handler for the `InfobarClicked` event, use the `addHandlerAsync` method of the `Item` object.
644642
* The event handler receives an argument of type
645643
* {@link https://learn.microsoft.com/javascript/api/outlook/office.infobarclickedeventargs?view=outlook-js-1.10 | Office.InfobarClickedEventArgs}.
646644
*
645+
* **Important**:
646+
*
647+
* - This event can only be handled in a task pane. Function commands can't register a handler for this event.
648+
*
649+
* - Although Outlook on Mac supports the `InsightMessage` notification type, it currently doesn't support the `InfobarClicked` event.
650+
* To determine when the **Dismiss** action is selected from the notification, implement a handler for the `OnInfoBarDismissClicked` event instead.
651+
* For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch#supported-events | Configure your Outlook add-in for event-based activation}.
652+
*
647653
* [Api set: Mailbox 1.10]
648654
*/
649655
InfobarClicked,

generate-docs/script-inputs/office.d.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -641,14 +641,20 @@ declare namespace Office {
641641
/**
642642
* Occurs in Outlook when an action is selected on a notification message with a defined
643643
* {@link https://learn.microsoft.com/javascript/api/outlook/office.notificationmessagedetails#actions | custom action}.
644-
* Currently, "Dismiss" is the only supported action that fires this event.
645-
*
646-
* **Important**: This event can only be handled in a task pane. Function commands can't register a handler for this event.
644+
* Currently, **Dismiss** is the only supported action that fires this event.
647645
*
648646
* To add an event handler for the `InfobarClicked` event, use the `addHandlerAsync` method of the `Item` object.
649647
* The event handler receives an argument of type
650648
* {@link https://learn.microsoft.com/javascript/api/outlook/office.infobarclickedeventargs?view=outlook-js-1.10 | Office.InfobarClickedEventArgs}.
651649
*
650+
* **Important**:
651+
*
652+
* - This event can only be handled in a task pane. Function commands can't register a handler for this event.
653+
*
654+
* - Although Outlook on Mac supports the `InsightMessage` notification type, it currently doesn't support the `InfobarClicked` event.
655+
* To determine when the **Dismiss** action is selected from the notification, implement a handler for the `OnInfoBarDismissClicked` event instead.
656+
* For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch#supported-events | Configure your Outlook add-in for event-based activation}.
657+
*
652658
* [Api set: Mailbox 1.10]
653659
*/
654660
InfobarClicked,

generate-docs/script-inputs/office_preview.d.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -641,14 +641,20 @@ declare namespace Office {
641641
/**
642642
* Occurs in Outlook when an action is selected on a notification message with a defined
643643
* {@link https://learn.microsoft.com/javascript/api/outlook/office.notificationmessagedetails#actions | custom action}.
644-
* Currently, "Dismiss" is the only supported action that fires this event.
645-
*
646-
* **Important**: This event can only be handled in a task pane. Function commands can't register a handler for this event.
644+
* Currently, **Dismiss** is the only supported action that fires this event.
647645
*
648646
* To add an event handler for the `InfobarClicked` event, use the `addHandlerAsync` method of the `Item` object.
649647
* The event handler receives an argument of type
650648
* {@link https://learn.microsoft.com/javascript/api/outlook/office.infobarclickedeventargs?view=outlook-js-1.10 | Office.InfobarClickedEventArgs}.
651649
*
650+
* **Important**:
651+
*
652+
* - This event can only be handled in a task pane. Function commands can't register a handler for this event.
653+
*
654+
* - Although Outlook on Mac supports the `InsightMessage` notification type, it currently doesn't support the `InfobarClicked` event.
655+
* To determine when the **Dismiss** action is selected from the notification, implement a handler for the `OnInfoBarDismissClicked` event instead.
656+
* For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch#supported-events | Configure your Outlook add-in for event-based activation}.
657+
*
652658
* [Api set: Mailbox 1.10]
653659
*/
654660
InfobarClicked,

0 commit comments

Comments
 (0)