forked from adaptlearning/adapt-contrib-accordion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.json
61 lines (61 loc) · 2.04 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
56
57
58
59
60
61
{
"_id": "c-05",
"_parentId": "b-05",
"_type": "component",
"_component": "accordion-audio",
"_classes": "",
"_layout": "full",
"title": "Accordion Audio",
"displayTitle": "Accordion Audio Title",
"body": "This is optional body text.",
"instruction": "Select the headings below to reveal the text.",
"_shouldCollapseItems": true,
"_shouldExpandFirstItem": false,
"_comment": "setCompletionOn = inview | allItems",
"_setCompletionOn": "allItems",
"_items": [
{
"title": "Heading 1",
"body": "This is display text 1.",
"_graphic": {
"src": "course/en/images/example.jpg",
"alt": "",
"attribution": "Copyright © 2019"
},
"_comment": "Supported classes = 'align-image-left' | 'align-image-right'. Additional classes can be used but they must be predefined in one of the Less files",
"_classes": "align-image-left",
"_audio": {
"src": "course/en/audio/***.mp3"
}
},
{
"title": "Heading 2",
"body": "This is display text 2.",
"_graphic": {
"src": "course/en/images/example.jpg",
"alt": "",
"attribution": ""
},
"_classes": "",
"_audio": {
"src": "course/en/audio/***.mp3"
}
},
{
"title": "Heading 3",
"body": "This is display text 3.",
"_graphic": {
"src": "course/en/images/example.jpg",
"alt": "",
"attribution": ""
},
"_classes": "",
"_audio": {
"src": "course/en/audio/***.mp3"
}
}
],
"_pageLevelProgress": {
"_isEnabled": true
}
}