Adding Custom Event Handlers to Module React Components

Loose explanation with links to ApexCharts module code:

  1. In your client code, you need to create and register a ComponentStoreDelegate.

  2. This ComponentStoreDelegate lets you fire events that will be received on your ComponentModelDelegate running on the gateway.

  3. You can also send events the other direction too; you can fire events from your gateway ComponentModelDelegate that are handled by the client.