config.activity_edit.resource_item.show - Initialization - Author API

Author API Initialization

show

Controls whether the Resource Item toggle is visible in the Activity editor.

You would want to use this to hide and prevent authors from using the Resource Item selector and interface.

Examples

var initializationOptions = {
    "config": {
        "activity_edit": {
            "resource_item": {
                "show": false
            }
        }
    }
};

Values

Attribute path config.activity_edit.resource_item.show

Default true

Type boolean

Versioning

Version added: v2021.3.LTS

Was this article helpful?

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