Initialization Option Items API

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

Request object key config.annotations_api_init_options

Type object

This object has the following properties which can be configured.

  • modules object

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

Related articles

Was this article helpful?