Initialization Option Author API

reference

Configure options relating to the references of Items within the Activity preview.

Values

Request object key config.activity_edit.activity_preview.item.reference

Type object

This object has the following properties which can be configured.

  • show boolean

    Controls whether Item references are shown in the Activity preview panels.

    You would want to use this so that you can display Item references in the Activity preview panels.

    In the "Player" tab, Item references will be shown in the top left of the player.

    In the "List" tab, Item references will be shown above each Item.

    Default: false

    var initializationOptions = {
        "config": {
            "activity_edit": {
                "activity_preview": {
                    "item": {
                        "reference": {
                            "show": true
                        }
                    }
                }
            }
        }
    };
Was this article helpful?