Options
All
  • Public
  • Public/Protected
  • All
Menu

HAndles messaging into and out of the app with a predefined set of events that can be handled.

Hierarchy

  • MessageBus

Index

Properties

emitter: EventEmitter<string | symbol, any>
parent?: Window

Constructors

Methods

  • setupWindowMessaging(parent: Window): void
  • Setups up messaging between this instance/module and a parent window. Used for embedding modules into other web platforms.

    Parameters

    • parent: Window

      The parent window that will be embedding the widget and communicating with it.

    Returns void

  • cleanupWindowMessaging(): void
  • Cleans up the listeners and removes the parent/module communication channel.

    Returns void

  • Listens for incoming messages from the parent window, checks that we are the intended target, and dispatches the message to the local message bus.

    Parameters

    Returns void

Generated using TypeDoc