Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • S

Hierarchy

Index

Constructors

Methods

Constructors

constructor

  • new M2RAPI<S>(channel: string): M2RAPI<S>
  • Type parameters

    • S

    Parameters

    • channel: string

    Returns M2RAPI<S>

Methods

getClientFor

  • getClientFor(webContents: WebContents): Client<S>
  • get client for target webContents

    Parameters

    • webContents: WebContents

      target webContents

    Returns Client<S>

plugInRenderer

  • plugInRenderer<I>(impl: I): void
  • plug bridge in renderer process implementation

    Type parameters

    • I

    Parameters

    • impl: I

      the object that implements API

    Returns void

Legend

  • Function with type parameter
  • Type alias with type parameter
  • Class with type parameter
  • Method
  • Interface

Generated using TypeDoc