-
Notifications
You must be signed in to change notification settings - Fork 10
/
example.json
executable file
·93 lines (92 loc) · 3.61 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"_id": "c-05",
"_parentId": "b-05",
"_type": "component",
"_component": "hotgrid",
"_classes": "",
"_layout": "full",
"title": "Hotgrid",
"displayTitle": "Hotgrid",
"body": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.",
"instruction": "Select the images to find out more.",
"_comment": "setCompletionOn = inview | allItems",
"_setCompletionOn": "allItems",
"_canCycleThroughPagination": false,
"_hidePagination": false,
"_columns": 3,
"_isRound": false,
"_showPlusIcon": false,
"_items": [
{
"title": "Item Title 1",
"body": "This is display text 1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.",
"_imageAlignment": "right",
"_comment": "Supported classes = 'hide-desktop-image' | 'hide-popup-image'. Additional classes can be used but they must be predefined in one of the Less files",
"_classes": "",
"_graphic": {
"src": "course/en/images/example.jpg",
"srcHover": "",
"srcVisited": "",
"alt": "",
"title": "Grid Title 1",
"_classes": ""
},
"_itemGraphic": {
"src": "course/en/images/example.jpg",
"alt": "",
"attribution": "Copyright © 2019"
}
},
{
"title": "Item Title 2",
"body": "This is display text 2 with a left aligned image.",
"_imageAlignment": "left",
"_classes": "",
"_graphic": {
"src": "course/en/images/example.jpg",
"srcHover": "",
"srcVisited": "",
"alt": "",
"title": "Grid Title 2",
"_classes": ""
},
"_itemGraphic": {
"src": "course/en/images/example.jpg",
"alt": "",
"attribution": ""
}
},
{
"title": "Item Title 3",
"body": "This is display text 3.",
"_imageAlignment": "right",
"_classes": "",
"_graphic": {
"src": "course/en/images/example.jpg",
"srcHover": "",
"srcVisited": "",
"alt": "",
"title": "Grid Title 3",
"_classes": ""
},
"_itemGraphic": {
"src": "course/en/images/example.jpg",
"alt": "",
"attribution": ""
}
}
],
"_pageLevelProgress": {
"_isEnabled": true
}
}
// Accessibility supported courses require ARIA instruction.
// Apply to _globals._components in course.json.
// --------------------------------------------------
"_hotgrid": {
"ariaRegion": "Selectable image component. Select each item to show more information.",
"previous": "{{#if title}}Back to {{{title}}} (item {{itemNumber}} of {{totalItems}}){{else}}{{_globals._accessibility._ariaLabels.previous}}{{/if}}",
"next": "{{#if title}}Forward to {{{title}}} (item {{itemNumber}} of {{totalItems}}){{else}}{{_globals._accessibility._ariaLabels.next}}{{/if}}",
"popupPagination": "{{itemNumber}} / {{totalItems}}",
"item": "Item"
}