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

Author API Initialization

show

Controls whether the Widget type (Questions and Features) buttons are shown.

You would want to use this to prevent authors from selecting Questions or Features.

Examples

var initializationOptions = {
    "config": {
        "widget_templates": {
            "widget_types": {
                "show": false
            }
        }
    }
};

Values

Attribute path config.widget_templates.widget_types.show

Default true

Type boolean

Related articles

  • The widget_types.default initialization option, which controls whether Question or Feature types are shown by default.
Was this article helpful?

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