-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.json
55 lines (53 loc) · 1.47 KB
/
example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* adapt-quicknav
* License - http://github.com/adaptlearning/adapt_framework/LICENSE
* Maintainers - Oliver Foster <[email protected]>
*/
// To go in the contentObject.json file
// for each page
"_quicknav": {
"_isEnabled": true,
"_isContinuous": "global", //global (loop through menus+pages) / local (loop through pages ) / false (disable next+prev buttons at start and end)
"_injectIntoSelector": "", //force append to selector instead of page
"_global": { //change the flow for global continuous
"_pageNext":"co-10", // remove if to follow normal flow
"_pagePrevious": "co-10" // remove if to follow normal flow
},
"_buttons": {
"_root": {
"_isHidden": false,
"text": "Go to main menu"
},
"_up": {
"_isHidden": false,
"text": "Back to menu"
},
"_previous": {
"_isHidden": false,
"text": "< Previous"
},
"_next": {
"_isHidden": false,
"text": "Next >"
}
},
"_isEnableNextOnCompletion": true,
"_lock": [
"co-05",
"co-10",
"co-15",
"co-20"
]
}
//to go in components.json
//if you want a component in which to place the quicknav, please add:
//NOTE: please remove _injectIntoSelector from above
{
"_id": "c-61",
"_parentId": "b-48",
"_type": "component",
"_component": "quicknav",
"_classes": "",
"_layout": "full",
"title": "c-48"
},