Skip to content
skjsaurabh edited this page Jan 21, 2013 · 1 revision

Description

'app' is for application.'app' is the main object in skjApp framework. It is the first object required to build any application in skjApp framework.

Properties

type

The template of the application.

Possible templates types :

  • app.mobile.ios.html5
  • app.mobile.ios.native
  • app.mobile.android.html5
  • app.mobile.android.native
  • app.mobile.bb10.html5
  • app.mobile.bb10.native
  • app.mobile.windows7.html5
  • app.mobile.windows8.html5
  • app.mobile.windows8.native
  • app.mobile.nokiaasha.native
  • app.pc.windows8.html5
  • app.fb.html5
  • app.cloud.aws.php
  • app.web.html5

x

The x co-ordinate of the application in pixels. Valid only in 'type : app.web.html5'. In all other types this is 0.

y

The y co-ordinate of the application in pixels. Valid only in 'type : app.web.html5'. In all other types this is 0.

width

The width of the application in pixels. This value is taken as the viewport width in mobile html 5 platforms.

height

The height of the application in pixels. This value is taken as the viewport height in mobile html 5 platforms.

maxFrameRate

The maximum allowed frame rate within the application. The frame rate is the frequency of update and draw cycle within the application.

mode

The execution mode of the application.

Possible values:

  • debug
  • edit
  • execute

pages

The array containing names of all the pages within the application.

currentPage

The current active page in the application.

images

An array containing copy of all images within the application.

audios

An array containing copy of all audios within the application.

videos

An array containing copy of all videos within the application.

Clone this wiki locally