Skip to content

PKUI.CORE.popColumnView

kerrishotts edited this page Nov 14, 2012 · 1 revision

(part of PKUI.CORE)

Return Type: void

Parameters: theView ( view )

Only used while using column-based view management. Pops the specified view (or if not specified, the right-most) off the view stack and recalculates all visible views' positions. Calls theView's lifecycle methods if defined.

Example:

PKUI.CORE.popColumnView (); // pops right-most view
PKUI.CORE.popColumnView (test2); // removes test2 from the view stack, and re-calculates all views around it.

Notes

  • Almost never called directly; used internally by PKUI.CORE.popView.
  • If a view is popped from the middle of the view stack, all views' positions are recalculated to account for the missing space. Therefore, no gap will occur.
  • The scrolling position is moved all the way to the right to ensure the right-most view is visible.

Version

0.2 Introduced ; Docs Valid

Clone this wiki locally