forked from adaptlearning/adapt-contrib-pageLevelProgress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.json
14 lines (14 loc) · 771 Bytes
/
example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// To go on a component
{
"_id":"c-05",
"_parentId":"b-05",
"_type":"component",
"_component":"text",
"_classes":"",
"_layout":"left",
"title":"Our first look at a component",
"body":"This component you're reading is a text component. All components take this form of a title and body - except a blank component. However it's important to realise that title and body attributes are not needed. <br><br>Take for instance the media component opposite or below on a smaller device - has no body attribute. Instead of the HTML being rendered Adapt simply doesn't render it. The title attribute is simply a break tag to push the media component level with the opposite component.",
"_pageLevelProgress": {
"_isEnabled": true
}
}