Author API Initialization
difficulty
Configuration options for the difficulty.
Values
Attribute path config.item_edit.item.details.difficulty
Type object
Properties
-
edit boolean
Controls whether the difficulty field can be changed.
You would want to use this so that you can prevent authors from editing the Item's difficulty.
Default:
true
var initializationOptions = { "config": { "item_edit": { "item": { "details": { "difficulty": { "edit": false } } } } } };
-
show boolean
Controls whether the difficulty field is shown.
You would want to use this to prevent authors from updating the difficulty information for Items.
Default:
true
var initializationOptions = { "config": { "item_edit": { "item": { "details": { "difficulty": { "show": false } } } } } };