Initialization Option Author API

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

Request object key config.widget_templates.widget_types.default

Default: "questions"

Type string

Possible values:
  • "questions"
  • "features"
Was this article helpful?