App.json

by Admin 23. October 2011 01:53

The App.json file allows to configure an application. All configuration settings are optional.

{
        title: "Blog Viewer - Tangere.Net",
        theme: "boston",
        debug: true,
        layoutMode: "split",
        layoutMainMinWidth: 700,
        chrome = true,
        authentication = false,
        authenticationServer = "",
        loginApp = "",
        add2home = true,
        config: {  url : "http://tangere.net/" }
}

Title: the title for the application. Only visible in desktop browsers.

theme: allows to assign a fixed theme to the application. If no theme is provided the theme "cupertino" is used on iOS devices and the theme "boston" is used on all other device types.

debug: false|true, when set to true .js files are not compressed and diagnostic information is show in the debug console.

layoutMode: single|split, the split mode allows to show two panels side by side on tablets.

layoutMainMinWidth: in split layoutMode the side panel is automatically hidden if the display width is not sufficient to show the side panel (width 320px) and the main panel side by side. On an iPad with a 1024x768 resolution and the default layoutMainMinWidth = 720 the side panel will be hidden in portrait mode.

chrome: true|false, the App chrome consists of a title bar on top of the App as well as a toolbar at the bottom of the App. When set to false no chrome will be added to the App.

add2home: true|false, allows to disable the Add To Home tip on iOS devices

config: allows to pass arbitrary configuration settings to the App. These settings can be retrieved with the $App.config object (e.g. $App.config.url)

Comments (1) -

I  essentially  propose   this   to assert I 'm beginner   through which weblog  also now   excess   dear  the real   web site .  A wide range of   suitable  Im planing to bookmark  on to the  site . You  in spades  have  surpassing   well crafted  information .  Consecrate  the  chore  for  divvying  awaken   through us the  web property   piece of content .

Rick Poole
Rick Poole United States
4/25/2013 4:26:43 PM #

I  fundamentally   propose   the actual   to assert I 'm beginner   right through to  weblog  and from now on   spare   dear  the actual   website. Most   prepared  Im planing to bookmark  about the site . You  emphatically  have  surmounting   well crafted articles .  Consecrate  the  laborious task  for  divvying  alert   fx  us the  web presence   doc .

nike free run shoes
nike free run shoes People's Republic of China
6/18/2013 3:31:15 PM #

Unlike air jordan retro 6 for cheap air jordan retro 6 air jordan retro 6 sale in air jordan retro 6 cheap 2008 air jordan retro 6 shoes when air jordan retro 6 sneakers the air jordan retro 6 trainers country air jordan 5 dmp shoes was

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading