Skip to content

Instantly share code, notes, and snippets.

Created September 20, 2016 02:55
What would you like to do?
Widget API Definition
* Widget <> Squatch.js Interface via EasyXDM
init(height, width, codeIn, rewardBalance, resizeEmbedToContentIn)
resize(height, width)
publish(eventName, payload)
error(errorMessage, height, width)
// These are the messages sent to the widget
openedWidget(mode, userId, systemId)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment