Pushes a new container on the container stack of the calling scene. Mojo.Event.key* events are sent to the top container. All containers with a lower or same layer will be cancelled if they specified a cancelFunc in their options.
Argument | Type | Description |
---|---|---|
container | Element | The container to be pushed. |
layer | String | Constant indicating the layer of the container being pushed. Usually dialogContainerLayer or submenuContainerLayer. |
options | Object | Specifies optional arguments. May contain a cancelFunc property that is called when the container is cancelled. |
0 Comments