config.item_edit.item.save - Initialization - Author API

Author API Initialization

save

Configuration options for the Item save button and its behavior.

You would want to use this to disable the save functionality and build your own save button in your application, for example.

Examples

// Show or hide the save button using a boolean value
var initializationOptions = {
    "config": {
        "item_edit": {
            "item": {
                "save": false
            }
        }
    }
};

// Disable the persist functionality and hide the save button using an object type
var initializationOptions = {
    "config": {
        "item_edit": {
            "item": {
                "save": {
                    "persist": false,
                    "show": false
                }
            }
        }
    }
};

Values

Attribute path config.item_edit.item.save

  • Type boolean

    Controls whether the save button is shown on the Item editor view.

  • Type object

    Configuration options for the save button.

    • persist boolean

      Controls whether the Item data is persisted in Item bank.

      Default: true

    • show boolean

      Controls whether the save button is shown in the Item editor view.

      Default: true

Related articles

Was this article helpful?

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