config.activity_edit.item.add.show - Initialization - Author API

Author API Initialization

show

Controls whether the Create Item button is visible.

You would want to use this to hide the Create Item button in the Activity editor view.

Examples

// Hide the Create Item button
var initializationOptions = {
    "config": {
        "activity_edit": {
            "item": {
                "add": {
                    "show": false
                }
            }
        }
    }
};

Values

Attribute path config.activity_edit.item.add.show

Default true

Type boolean

Was this article helpful?

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