config.widget_templates.widget_types.default - Initialization - Author API

Author API Initialization

default

Controls whether Question types or Feature types are shown by default.

You would want to use this to change the default view to show Features.

Examples

// Show the Feature types by default for the Widget editor - tile view
var initializationOptions = {
    "config": {
        "widget_templates": {
            "widget_types": {
                "default": "features"
            }
        }
    }
};

Values

Attribute path config.widget_templates.widget_types.default

Default "questions"

Type string

Possible values

  • "questions"
  • "features"
Was this article helpful?

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