Skip to content

Commit

Permalink
Add _canShowMarking to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgreenfield committed Jul 11, 2016
1 parent 9a68e0c commit e75412b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ guide the learner’s interaction with the component.

**_canShowModelAnswer** (boolean): Setting this to `false` prevents the [**_showCorrectAnswer** button](https://github.com/adaptlearning/adapt_framework/wiki/Core-Buttons) from being displayed. The default is `true`.

**_canShowMarking** (boolean): Setting this to `false` prevents ticks and crosses being displayed on question completion. The default is `true`.

**_recordInteraction** (boolean) Determines whether or not the learner's answers will be recorded to the LMS via cmi.interactions. Default is `true`. For further information, see the entry for `_shouldRecordInteractions` in the README for [adapt-contrib-spoor](https://github.com/adaptlearning/adapt-contrib-spoor).

**_items** (array): Each *item* represents one choice for the multiple choice question and contains values for **text**, **_shouldBeSelected**, and **feedback**.
Expand Down
1 change: 1 addition & 0 deletions example.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"_isRandom":false,
"_selectable":1,
"_canShowModelAnswer": true,
"_canShowMarking": true,
"_recordInteraction":true,
"title": "MCQ",
"displayTitle": "MCQ",
Expand Down
8 changes: 8 additions & 0 deletions properties.schema
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@
"validators": [],
"help": "Select 'true' to allow the user to view feedback on their answer"
},
"_canShowMarking": {
"type": "boolean",
"default": true,
"title": "Display Marking",
"inputType": { "type": "Boolean", "options": [ true, false ] },
"validators": [],
"help": "Select 'true' to display ticks and crosses on question completion"
},
"_shouldDisplayAttempts": {
"type":"boolean",
"required":false,
Expand Down

0 comments on commit e75412b

Please sign in to comment.