Created
November 20, 2013 03:42
-
-
Save nickarthur/7557328 to your computer and use it in GitHub Desktop.
CLOSING CLOUDPARTY HTML CONTROLLERS via script
cloudparty
This file contains 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
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