www.webOShelp.net

Get the latest on:webOS Developers' RSS FeedwebOS Facebook page webOS Twitter Feed

Home Resources API Reference Mojo.Controller.StageController.popScene(returnValue, options)

Mojo.Controller.StageController.popScene(returnValue, options)

Removes a scene from the scene stack, passing returnValue to the newly revealed scene's activate method. This is an asynchronous operation.

Argument Type Description
returnValue Object Object passed to the activate method of the scene below the scene being popped.
options    
 

2 Comments

Feed
  1. Why is everywhere I see this description incomplete?:\
    What does options do or how do I use it?
    Can someone give an example?

    I tried this: (second is a scene)


    and it doesn't work! :'(
  2. SecondAssistant.prototype.gotoPrevScene = function(event) { 
            this.options = {};
            Mojo.Controller.StageController.popScene(event, this.options);
    }


    here's the code sorry...

Add Comment


    • >:o
    • :-[
    • :'(
    • :-(
    • :-D
    • :-*
    • :-)
    • :P
    • :\
    • 8-)
    • ;-)