config.activity_edit.player.playback.warning_on_change - Initialization - Author API

Author API Initialization

warning_on_change

Configuration options for the "warn student on unattempted Question(s)" functionality.

Values

Attribute path config.activity_edit.player.playback.warning_on_change

Type object

Properties

  • show boolean

    Controls whether the "warn student on unattempted Question(s)" 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": {
                                    "warning_on_change": {
                                        "show": false
                                    }
                                }
                            }
                        }
                    }
                };
                
  • edit boolean

    Controls whether the "warn student on unattempted Question(s)" 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 shown but cannot be changed.

    Default: true

    var initializationOptions = {
                    "config": {
                        "activity_edit": {
                            "player": {
                                "playback": {
                                    "warning_on_change": {
                                        "edit": false
                                    }
                                }
                            }
                        }
                    }
                };
                
Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.