Class Index | File Index

Classes


Namespace Sfdc.canvas.xd

Sfdc.canvas.xd
Defined in: xd.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
post(message, target_url, target)
Pass a message to the target url
 
receive(callback, source_origin)
 
Removes the message event listener
Namespace Detail
Sfdc.canvas.xd
Method Detail
post(message, target_url, target)
Pass a message to the target url
Parameters:
{String} message
The message to send
{String} target_url
Specifies what the origin of the target must be for the event to be dispatched.
{String} target Optional
The window that is the message's target. Defaults to the parent of the current window.

receive(callback, source_origin)
Parameters:
{Function} callback
Function to run when the message event is received if the event origin is acceptable.
{String} source_origin
The origin of the desired events

remove()
Removes the message event listener

Documentation generated by JsDoc Toolkit 2.3.0 on Fri Jan 11 2013 16:00:16 GMT-0000 (GMT)