config.activity_edit.difficulty.edit - Initialization - Author API

Author API Initialization

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

Attribute path config.activity_edit.difficulty.edit

Default true

Type boolean

Was this article helpful?

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