Skip to content

GlobalConfig

sonsoleslp edited this page Aug 22, 2018 · 8 revisions

In the app state some parameters are gathered that affect the global configuration of the document. These parameters can be edited through the provided interface for this purpose: in the Menu >> Global Configuration. Editable properties are the following:

  • title: Document title.
  • author: Document author.
  • descripción: Document description.
  • canvasRatio: Aspect ratio for the slides. It can be 4/3 or 16/9
  • visorNav: Visor navigation. It has three parts:
    • player: Navigation keys in the visor (true or false).
    • sidebar: Lateral navigation bar in the visor (true or false)
    • keyBindings: Handle navigations with arrows (true or false)
  • language: Language code of the document. Example: es for Spanish.
  • trackProgess: Monitoring document visualization progress (true or false).
  • age: Recomended age range
    • min: Minimum age
    • max: Maximum age
  • context: Context where document is located. It can take either one of these values: school, higher education, training or other.
  • rights: Document license. Ver.
  • keywords: Keywords to find the document. Example ['biology', 'secundary', 'genetics', 'anatomy']
  • typicalLearningTime: Typical learning time
    • h: Number of hours.
    • m: Number of minutes.
    • s: Number of seconds.
  • version: Document version. Example: '1.0.0'. Transparent for the user.
  • status: Document state. One of these values: draft, final , revised, unavailable.
  • structure: Document structure. Always linear.
  • difficulty: Document difficulty. One of these values: very easy, easy, medium, difficult, very difficult.
  • minTimeProgress: Minimum time that a user has to spend on a page in order to consider it complete.
  • thumbnail: Document miniature.

The following example of the complete globalConfig object:

globalConfig: {
	title: 'Biology 101',
	author: 'Professor B.',
	description: 'Biology for beginners',
	canvasRatio: 16 / 9,
	visorNav: {
		player: true,
		sidebar: true,
		keyBindings: true
	},
	trackProgess: true,
	age: {
		min: 0,
		max: 100
	},
	context: 'school',
	rights: "public",
	keywords: [],
	typicalLearningTime: {
		h: 0,
		m: 0,
		s: 0
	},
	version: '1.0.0',
	status: 'draft',
	structure: 'linear',
	difficulty: 'easy'
	thumbnail: '',
	structure: 'linear',
	minTimeProgress: 10
}

Many properties are inherited from the de facto standard of the e-learning sector (SCORM).

Clone this wiki locally