Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventListenerContext

A context for an event listener.

Hierarchy

  • EventListenerContext

Index

Properties

Methods

Properties

data

data: any

The underlying event data.

name

name: string

The name of the event.

Methods

postMessage

  • postMessage(command: string, data?: any): PromiseLike<boolean>
  • Post a message / command (to the underlying webview).

    Parameters

    • command: string

      The name of the command.

    • Optional data: any

    Returns PromiseLike<boolean>

    The promise that indicates if operation was successful or not.

Generated using TypeDoc