config.annotations_api_init_options - Initialization - Items API

Items API Initialization

annotations_api_init_options

Enable and provide custom initialization options to the Annotations API.

You would want to specify this option so that you can enable or disable specific modules for Annotations API, or customize their behavior.

Examples

var initializationOptions = {
    "config": {
        "annotations_api_init_options": {
            "modules": {
                "drawing": true,
                "notepad": false,
                "texthighlight": false,
                "stickynote": {
                    "start_expanded": true,
                    "start_hidden": true
                }
            }
        }
    }
};

Values

Attribute path config.annotations_api_init_options

Type object

Properties

  • modules object

    Define which modules are enabled for Annotations API and provide module initialization options.

Related articles

Was this article helpful?

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