forked from cgkineo/adapt-close
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.json
50 lines (47 loc) · 1.15 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
// To go on course json
"_close": {
"_isEnabled": true,
"_button": {
"_isEnabled": true,
"_sendLMSFinish": false,
"_closeViaLMSFinish": false,
"_notifyPromptIfIncomplete": {
"_isEnabled": false,
"title": "Confirm close",
"body": "Are you sure you want to close the module?",
"confirm": "Close",
"cancel": "Cancel"
},
"_notifyPromptIfComplete": {
"_isEnabled": false,
"title": "Confirm close",
"body": "Are you sure you want to close the module?",
"confirm": "Close",
"cancel": "Cancel"
}
},
"browserPromptIfIncomplete": "",
"browserPromptIfComplete": ""
},
// To go on a component
"_close": {
"_isEnabled": true,
"_classes": "",
"_button": {
"_sendLMSFinish": false,
"_closeViaLMSFinish": false,
"title": "Close"
},
"_tracking": {
"_requireCourseCompleted": false,
"_requireAssessmentPassed": false,
"_requireComponentCompleted": false
},
"_notifyPrompt": {
"_isEnabled": true,
"title": "Confirm close",
"body": "Are you sure you want to close the module?",
"confirm": "Close",
"cancel": "Cancel"
}
},