Author API Initialization
distractor_rationale
Configuration options for the "show distractor rationale per Question" functionality.
Values
Attribute path config.activity_edit.player.playback.distractor_rationale
Type object
Properties
-
show boolean
Controls whether the "show distractor rationale per Question" option is shown.
You would want to use this to hide the option in the assessment player settings.
Default:
true
var initializationOptions = { "config": { "activity_edit": { "player": { "playback": { "distractor_rationale": { "show": false } } } } } };
-
edit boolean
Controls whether the "show distractor rationale per Question" option can be changed.
You would want to use this so that you can prevent authors from changing the option in the assessment player settings. The option will be displayed but cannot be changed.
Default:
true
var initializationOptions = { "config": { "activity_edit": { "player": { "playback": { "distractor_rationale": { "edit": false } } } } } };