You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Registers a handler for non-context and non-intent events from the Desktop Agent. If the consumer is only interested in an eventof a particular type, they can specify that type. If the consumer is able to receive events of any type or will inspect types received, then they can pass `null` as the `type` parameter to receive all event types.
@@ -110,13 +110,17 @@ Whenever the handler function is called it will be passed an event object with d
Copy file name to clipboardExpand all lines: docs/api/ref/Events.md
+40-29Lines changed: 40 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,26 @@ title: Events
4
4
5
5
In addition to intent and context events, the FDC3 API and PrivateChannel API may be used to listen for other types of events via their `addEventListener()` functions.
6
6
7
+
## `ApiEvent`
8
+
9
+
Type defining a basic event object that may be emitted by an FDC3 API interface such as DesktopAgent or PrivateChannel. There are more specific event types defined for each interface.
Register a handler for events from the PrivateChannel. Whenever the handler function is called it will be passed an event object with details related to the event.
0 commit comments