config.activity_edit.item.custom_points.toggle.show - Initialization - Author API

Author API Initialization

show

Controls whether the Custom Points toggle switch is visible in the Activity Editor toolbar.

When set to true the toggle switch will be visible, otherwise it will be hidden.

Examples

// Hiding custom points feature from author/user
var initializationOptions = {
    "config": {
        "activity_edit": {
            "item": {
                "custom_points": {
                    "toggle": {
                        "show": false,
                        "default_checked": false
                    }
                }
            }
        }
    }
};

Values

Attribute path config.activity_edit.item.custom_points.toggle.show

Default false

Type boolean

Was this article helpful?

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