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
title: Working with the events - Universal Editor Extensibility
3
-
description: Leveraging universal editor events within your application
2
+
title: Working with CustomEvent - Universal Editor Extensibility
3
+
description: Communicating to the Remote Application through CustomEvent
4
4
contributors:
5
5
- https://github.com/AdobeDocs/uix
6
6
---
7
7
8
-
# Working with Events
8
+
# Working with Custom Events
9
9
10
-
The Universal Editor sends defined events to remote applications. In case the remote application has no custom event listener for the sent event, a fallback event listener provided by the universal-editor-cors package is executed.
10
+
The Universal Editor sends defined events to the remote application, on top of this `CustomEvent` can also be sent directly from the Extension to the remote application.
11
11
12
-
### Working with Events
12
+
### Working with Custom Events
13
13
14
-
If your business logic requires sending an event to the Universal Editor, you can use the `triggerEvent` method.
15
-
Here's an example of how to dispatch the `aue:ui-viewport-change` event:
14
+
You can send events to the remote application using the `triggerEvent` method.
0 commit comments