Skip to content

PKUI.CORE.initializeApplication

kerrishotts edited this page Nov 14, 2012 · 1 revision

(part of PKUI.CORE)

Return Type: void

Parameters: none

Must be called in order to initialize the various event handlers. Automatically adds an event handler for orientation changes, which updates the body class with the appropriate orientation, platform, and more. It also adds a global event handler for the back button if PKUI.CORE.captureBackButton is true.

It also defines various properties that control animation. For example, animations are permitted on iOS, but disabled on Android and WP7.

Version

0.1 Introduced

0.2 Back Button Handler introduced; Docs Valid

Clone this wiki locally