Theater - globules-io/OGX.JS GitHub Wiki

In OGX.JS, the Theater is the object that manages stages (or virtual apps). If your app has only one stage, there is no need to use the Theater.

If you have multiple stages and want to display through an interface a list of stage, where the end user can select and open another stage (virtual app), you should use the Theater.

See it as the home screen of your phone OS, but the icons represent stages (virtual apps) and not apps per se.

Methods

 app.theater.show(_ANIM_); //Show the theater, _ANIM_ is optional
 app.theater.hide(_ANIM_); //Hide the theater, _ANIM_ is optional    

Constants

 OGX.Theater.ZOOM
 OGX.Theater.SWAP
 OGX.Theater.FLIP