{ "step": "0", "prog": [ { "cmd": "setConfig" }, { "cmd": "pause", "data": { "value": 10 } }, { "cmd": "showInfo", "data": { "value": "Hello, this is a text, that could come from a file..." } }, { "cmd": "clearStats" }, { "cmd": "startTimer" }, { "cmd": "playImg", "data": { "value": "cat", "text": "what am I?", "options": ["dog", "cat", "car", "bike", "bird"], "solution": "cat", "elType": "checkbox" } }, { "cmd": "playImg", "data": { "value": "bike", "text": "what am I?", "options": ["dog", "cat", "car", "bike", "bird"], "solution": "bike", "elType": "radio" } }, { "cmd": "playImg", "data": { "value": "bird", "text": "what am I?", "options": ["dog", "cat", "car", "bike", "bird"], "solution": "bird", "elType": "checkbox" } }, { "cmd": "playImg3d" }, { "cmd": "playQuestion", "data": { "value": "This is a question about...", "text": "Which color has the ocean?", "options": ["yellow", "pink", "blue", "green", "black"], "solution": "blue", "elType": "checkbox" } }, { "cmd": "playQuestion", "data": { "value": "This is a question about...", "text": "How many legs does a spider have?", "options": ["2", "4", "6", "8", "10", "12"], "solution": "8", "elType": "radio" } }, { "cmd": "stopTimer" }, { "cmd": "saveStats" } ] }
reset
save
0 | {"cmd":"setConfig"}
setConfig
This could set some configuration variables for the other commands
Okay, Next