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

Author API Initialization

toggle

Container for toggle-related settings that control the visibility and default state of the custom points feature on initialization.

Examples

// Enabling custom points feature with the toggle hidden
var initializationOptions = {
    "config": {
        "activity_edit": {
            "item": {
                "custom_points": {
                    "toggle": {
                        "show": false,
                        "default_checked": true
                    }
                }
            }
        }
    }
};

Values

Attribute path config.activity_edit.item.custom_points.toggle

Type object

Properties

  • default_checked boolean

    Controls whether custom points mode is enabled by default when creating new Activities or loading Activities for the first time.

  • show boolean

    Controls whether the Custom points toggle switch is visible in the Activity editor toolbar.

Versioning

Version added: v2026.1.LTS

Was this article helpful?

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