Namespace: config

qui.config

Configuration registry.

Source:

Members

(static) appCurrentVersion :String

Current application version, indicated by the frontend.

Type:
  • String
Source:

(static) appDisplayName :String

Application display name.

Type:
  • String
Source:

(static) appIndexName :String

The name of the main app script.

Type:
  • String
Source:

(static) appLatestVersion :String

Latest application version, indicated by the server.

Type:
  • String
Source:

(static) appName :String

Application name.

Type:
  • String
Source:

(static) appStaticURL :String

App's static base URL; should be identical to qui.config.quiStaticURL in production mode.

Type:
  • String
Source:

(static) buildHash :String

Build hash used to append to static URLs to prevent caching.

Type:
  • String
Source:

(static) debug :Boolean

Flag indicating whether app runs in debug mode or not.

Type:
  • Boolean
Source:

(static) defaultEffectsDisabled :Boolean

Flag that indicates whether effects are enabled or disabled by default when app is loaded.

Type:
  • Boolean
Source:

(static) defaultScalingFactor :Number

Default scaling factor to use when app is loaded.

Type:
  • Number
Source:

(static) defaultSmallScreenThreshold :Number

Default small screen threshold to use when app is loaded.

Type:
  • Number
Source:

(static) defaultTheme :String

The theme to be initially loaded, by default.

Type:
  • String
Source:

(static) navigationBasePrefix :String

Common prefix used for all QUI paths.

Type:
  • String
Source:

(static) navigationUsesFragment :Boolean

Flag indicating whether navigation uses URL fragment or regular path.

Type:
  • Boolean
Source:

(static) quiIndexName :String

The name of the main QUI script.

Type:
  • String
Source:

(static) quiStaticURL :String

QUI static base URL.

Type:
  • String
Source:

(static) themes :String

The list of comma-separated available themes.

Type:
  • String
Source:

Methods

(static) get(name, defopt)

Return a configuration item value.

Parameters:
Name Type Attributes Default Description
name String

configuration item name

def * <optional>
null

optional default value returned if missing

Source:

(static) set(name, value)

Set a configuration item value.

Parameters:
Name Type Description
name String

configuration item name

value *

new configuration item value

Source: