Skip to content

Instantly share code, notes, and snippets.

@nickarthur
Created November 20, 2013 03:42
Show Gist options
  • Save nickarthur/7557328 to your computer and use it in GitHub Desktop.
Save nickarthur/7557328 to your computer and use it in GitHub Desktop.
CLOSING CLOUDPARTY HTML CONTROLLERS via script cloudparty
Closing Controllers
How do you close a controller under script control? I thought I had that figured out at one point, but I guess not.
Yeah, that one is definitely a little subtle. Look at the 'command' section under listeners on controllerHTMLCreate:
http://wiki.cloudparty.com/wiki/ControllerHTMLCreate#listeners_Element_Keys
Basically you want to create a listener that has command: 'close', and then send a message (controllerMessage) corresponding to that listener.
That worked great. Thank you both much.
Flag
- See more at: http://forums.cloudparty.com/discussion/comment/3892/#sthash.Fv3a4gPy.dpuf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment