www.webOShelp.net

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

Home Resources API Reference Mojo.Controller.StageController.pushScene(sceneArguments)

Mojo.Controller.StageController.pushScene(sceneArguments)

Pushes a new scene. After this call, the new scene is placed on the stage's scene stack, the scene assistant's setup method is called and UI widgets are instantiated. The scene is then displayed and the scene assistant's activate method is called.

Argument Type Description
sceneArguments String|Object

String: Name of the scene to push

Object: Properties include:

Name of the scene

ID to use as DOM ID

Additional arguments that arepassed to the constructor of the scene assistant.


 

2 Comments

Feed
  1. Has anyone else noticed that this doesn't work unless you change the case of StageController to stageController?
  2. Yeah I had to change it to a lower case s for stageController as well.

Add Comment


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