config.activity_list.toolbar.add_adaptive - Initialization - Author API

Author API Initialization

add_adaptive

Controls whether the add adaptive Activity button is shown.

You would want to use this to allow authors to create adaptive Activities.

When this option and activity_list.toolbar.add are set to true, the add Activity button will contain a dropdown menu for adding adaptive Activities.

When the activity_list.toolbar.add initialization option is false, no add buttons are shown at all.

Examples

// Show the add adaptive dropdown button
var initializationOptions = {
    "config": {
        "activity_list": {
            "toolbar": {
                "add_adaptive": true
            }
        }
    }
};

Values

Attribute path config.activity_list.toolbar.add_adaptive

Default false

Type boolean

Was this article helpful?

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