Skip to content
kerrishotts edited this page Nov 14, 2012 · 1 revision

(part of PKUI.CORE)

Return Type: void

Parameters: theView ( view )

Pushes theView onto the viewStack, and makes sure it is visible, with an animation if possible. If the view handling method is full-screen, the previously visible view is animated off screen and hidden. If the view handling method is column, the previously visible view remains visible.

If defined, the view lifecycle events are called for both theView and the previous view (if it is hidden).

Example:

PKUI.CORE.pushView ( testView1 );

Notes

  • Since the full-screen layout requires a previous view on the stack in order to correctly animate, this method should not be used to push the first view onto the stack. Use PKUI.CORE.showView instead.
  • If the view handling method is set to the column method, PKUI.CORE.pushColumnView will be used instead.
  • If PKUI.CORE.animate is false, no animation will occur.
  • If PKUI.CORE.useTransforms is false, the animation will not use 3D Transforms.

Version

0.1 Introduced

0.2 Column handling added, Docs Valid

Clone this wiki locally