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(); //Show the theater
app.theater.hide(); //Hide the theater
Constants
OGX.Theater.SHOW //TheaterShow, triggered when the theater is shown
OGX.Theater.HIDE //TheaterHide, triggered when the theater is hidden
OGX.Theater.ZOOM //TheaterZoom
Stage transitions use
OGX.Stage.SWAP(swap) andOGX.Stage.FLIP(flip). Those constants are not onOGX.Theater.showandhidetake no animation argument.