Created
September 20, 2016 02:55
-
-
Save loganvolkers/0b7617aa6617c46e127e718e5777274f to your computer and use it in GitHub Desktop.
Widget API Definition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Widget <> Squatch.js Interface via EasyXDM | |
*/ | |
init(height, width, codeIn, rewardBalance, resizeEmbedToContentIn) | |
resize(height, width) | |
publish(eventName, payload) | |
close() | |
error(errorMessage, height, width) | |
// These are the messages sent to the widget | |
openedWidget(mode, userId, systemId) | |
closedWidget() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment