forked from saralsharma/adapt-img-text-reveal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.json
20 lines (20 loc) · 1.11 KB
/
example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"_id": "c-20",
"_parentId": "b-10",
"_type": "component",
"_component": "imageTextReveal",
"_classes": "",
"_layout": "right",
"title":"Here is a graphic slide down object",
"displayTitle":"Here is a graphic object",
"body":"",
"instruction":"Click on the image to know more.",
"_graphic": {
"alt": "alt text",
"large": "https://github.com/adaptlearning/documentation/raw/master/04_wiki_assets/adapt_framework/adapt-logo_208x200.gif",
"small": "https://github.com/adaptlearning/documentation/raw/master/04_wiki_assets/adapt_framework/adapt-logo_208x200.gif",
"attribution":""
},
"textToReveal":"<p>This component reveals the text information when user clicks on the graphic. The text information slides down under the graphic.</p><p>Durations are given in milliseconds; higher values indicate slower animations, not faster ones. The strings 'fast' and 'slow' can be supplied to indicate durations of 200 and 600 milliseconds, respectively. If any other string is supplied, or if the duration parameter is omitted, the default duration of 400 milliseconds is used.</p>",
"duration":"slow"
}