Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommInstance

An instance of a script running on a tab

Hierarchy

  • CommInstance

Index

Properties

Properties

id

id: TabId

The ID of the tab

sendMessage

sendMessage: function

A function used to send a message to this instance

Type declaration

    • (message: any, callback?: function): void
    • Parameters

      • message: any
      • Optional callback: function
          • (): void
          • Returns void

      Returns void

tabIndex

tabIndex: TabIndex

The index of this script in the array of scripts with this ID running on a tab

Generated using TypeDoc