config.widget_templates.save - Initialization - Author API

Author API Initialization

save

Controls whether the save button is shown on the Widget (Question or Feature) editor view, for example, when editing or creating a Widget.

You would want to use this to hide the save button in the navigation bar in the Widget editor view.

Setting the widget_templates.back and widget_templates.save initialization options to false hides the entire toolbar in the Widget editor view.

Examples

// Hide the save button
var initializationOptions = {
    "config": {
        "widget_templates": {
            "save": false
        }
    }
};

Values

Attribute path config.widget_templates.save

Default true

Type boolean

Was this article helpful?

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