Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an object able to call postMessage(). Most likely a window or an iframe contentWindow.

Hierarchy

  • IDispatcher

Index

Methods

  • postMessage(message: unknown, targetOrigin: string): void
  • Posts a message to the target process.

    Parameters

    • message: unknown

      The message object.

    • targetOrigin: string

      The target origin, or "*" if any origin is allowed.

    Returns void