Initialization Option Author API

edit

Controls whether the difficulty of an Activity can be changed.

You would want to specify this initialization option so that the difficulty of the Activity cannot be changed by the author.

Examples

var initializationOptions = {
    "config": {
        "activity_edit": {
            "difficulty": {
                "edit": false
            }
        }
    }
};

Values

Request object key config.activity_edit.difficulty.edit

Default: true

Type boolean

Was this article helpful?