config.activity_edit.player.administration.show_exit - Initialization - Author API

Author API Initialization

show_exit

Configuration options for the "exit & discard" administration functionality.

Values

Attribute path config.activity_edit.player.administration.show_exit

Type object

Properties

  • show boolean

    Controls whether the "exit & discard" option is shown in the administration panel.

    You would want to use this to hide the "exit & discard" option.

    Default: true

    var initializationOptions = {
                    "config": {
                        "activity_edit": {
                            "player": {
                                "administration": {
                                    "show": true,
                                    "show_exit": {
                                        "show": false
                                    }
                                }
                            }
                        }
                    }
                };
                
  • edit boolean

    Controls whether the "exit & discard" option can be changed in the Activity editor.

    You would want to use this to prevent authors from changing the "exit & discard" option. The option will be displayed but cannot be changed.

    Default: true

    var initializationOptions = {
                    "config": {
                        "activity_edit": {
                            "player": {
                                "administration": {
                                    "show": true,
                                    "show_exit": {
                                        "show": true,
                                        "edit": false
                                    }
                                }
                            }
                        }
                    }
                };
                
Was this article helpful?

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