API Docs for: 0.0.8
Show:

IFrameChannel Class

Communicate with an iframed content server.

Item Index

Methods

Properties

Methods

attach

()

Start listening for messages from the iframe.

detach

()

Stop listening for messages from the iframe.

send

(
  • command Message
  • [data]
)

Send a message to the iframe.

Parameters:

  • command Message String

    to send.

  • [data] Object optional

    Data to send.

Properties

version

String

Protocol version number. When the protocol to communicate with the content server changes, this should be bumped.