forked from deltanet/adapt-flipcard-audio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.json
49 lines (48 loc) · 1.66 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
{
"_id": "c-05",
"_parentId": "b-05",
"_type": "component",
"_component": "flipcard-audio",
"_classes": "",
"_layout": "full",
"title": "Flip Card",
"displayTitle": "Flip Card",
"body": "This is optional body text.",
"instruction": "Click the image below to reveal the text.",
"_flipType": "singleFlip", //_flipType accepts 'singleFlip' and 'allFlip'
"_animation": "flipY", //_animation accepts 'flipY', 'flipX', 'slideUp', 'slideDown', 'slideLeft' and 'slideRight'
"_inRow": 4,
"_items": [
{
"frontImage": {
"src": "course/en/images/flip_1.png",
"alt": "flipcard item 1 graphic alt text here."
},
"backTitle": "Heading 1",
"backTitleReduced": "Reduced heading 1",
"backBody": "This is display text 1.",
"backBodyReduced": "Reduced body text 2",
"_audio": {
"src": "course/en/audio/***.mp3"
}
},
{
"frontImage": {
"src": "course/en/images/flip_2.png",
"alt": "flipcard item 1 graphic alt text here."
},
"backTitle": "Heading 2",
"backTitleReduced": "Reduced heading 2",
"backBody": "<ul><li>This is list item 1.</li><li>This is list item 2.</li></ul>",
"backBodyReduced": "Reduced body text 2",
"_audio": {
"src": "course/en/audio/***.mp3"
}
}
]
},
// Add in course.json
"_flipcardAudio": {
"ariaRegion": "This component displays a row on images, which when selected flip to display text.",
"instruction": ""
},