config.item_edit.item.details.scoring_type - Initialization - Author API

Author API Initialization

scoring_type

Configuration options for the scoring type drop-down menu.

Values

Attribute path config.item_edit.item.details.scoring_type

Type object

Properties

  • edit boolean

    Controls whether the scoring type option can be changed.

    You would want to use this to prevent authors from editing the Item's scoring type.

    Default: true

    var initializationOptions = {
                    "config": {
                        "item_edit": {
                            "item": {
                                "details": {
                                    "scoring_type": {
                                        "edit": false
                                    }
                                }
                            }
                        }
                    }
                };
                
  • show boolean

    Controls whether the scoring type drop-down menu is shown.

    You would want to use this to hide the scoring type from authors.

    Default: true

    var initializationOptions = {
                    "config": {
                        "item_edit": {
                            "item": {
                                "details": {
                                    "scoring_type": {
                                        "show": false
                                    }
                                }
                            }
                        }
                    }
                };
                
Was this article helpful?

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