Class: CWindowMessenger

codemelted.CWindowMessenger(onMessage)

Wrapper object for receiving and posting messages between pages.

Constructor

new CWindowMessenger(onMessage)

Constructor for the class.
Parameters:
Name Type Description
onMessage COnWindowMessageListener The item to parse received messages.
Source:

Methods

close()

Removes the callback from the window object.
Source:

postMessage(params)

Sends data to another window.
Parameters:
Name Type Description
params object The named parameters
Properties
Name Type Attributes Description
targetOrigin string <optional>
Who the message is for.
data any The data to send.
Source: