Initialization Option Author API

distractor_rationale_response_level

Configuration options for the "show distractor rationale per response" functionality.

Values

Request object key config.activity_edit.player.playback.distractor_rationale_response_level

Type object

This object has the following properties which can be configured.

  • show boolean

    Controls whether the "show distractor rationale per response" 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_response_level": {
                            "show": false
                        }
                    }
                }
            }
        }
    };
  • edit boolean

    Controls whether the "show distractor rationale per response" 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_response_level": {
                            "edit": false
                        }
                    }
                }
            }
        }
    };
Was this article helpful?