forked from adaptlearning/adapt-contrib-trickle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.json
41 lines (35 loc) · 1.34 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
//TRICKLE STYLE BUTTON ON ALL ARTICLE BLOCKS
//put in article.json
"_trickle": {
"_isEnabled": true
}
//Manual Configuration Options
"_trickle": {
"_isEnabled": true, //(default=true)
"_autoScroll": true, //(default=true)
"_scrollDuration": 500, //(default=500)
"_onChildren": true, //(default=true)
"_scrollTo": "@block +1", //(default="@block +1")
"_button": {
"_isEnabled": true, //(default=true)
"_styleBeforeCompletion": "hidden|visible", //(default=hidden)
"_styleAfterClick": "hidden|disabled|scroll", //(default=hidden)
"_isFullWidth": true, //(default=true)
"_autoHide": true, //(default=true)
"_className": "|trickle-round-arrow", //(default="")
"text": "Continue", //(default="Continue")
"startText": "Begin",
"finalText": "Finish", //(default="Finish")
"_component": "trickle-button" //(default="trickle-button")
},
"_stepLocking": {
"_isEnabled": true, //(default=true)
"_isCompletionRequired": true, //(default=true)
"_isLockedOnRevisit": false //(default=false)
}
}
//Overide which completion data attribute is used to test when the trickle button should be displayed
//put in config.json
"_trickle": {
"_completionAttribute": "_isInteractionComplete|_isComplete", //(default=_isInteractionComplete)
}