From e75412b8ffb72f646742c36c1138397ea2a99936 Mon Sep 17 00:00:00 2001 From: tomgreenfield Date: Mon, 11 Jul 2016 09:56:00 +0100 Subject: [PATCH] Add _canShowMarking to documentation --- README.md | 2 ++ example.json | 1 + properties.schema | 8 ++++++++ 3 files changed, 11 insertions(+) diff --git a/README.md b/README.md index a5d83c7..16cd310 100644 --- a/README.md +++ b/README.md @@ -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**. diff --git a/example.json b/example.json index ef7091b..5ac0229 100644 --- a/example.json +++ b/example.json @@ -11,6 +11,7 @@ "_isRandom":false, "_selectable":1, "_canShowModelAnswer": true, + "_canShowMarking": true, "_recordInteraction":true, "title": "MCQ", "displayTitle": "MCQ", diff --git a/properties.schema b/properties.schema index 0ecd949..fae9634 100644 --- a/properties.schema +++ b/properties.schema @@ -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,