Author API Initialization
shuffle_items
Configuration options for the "shuffle order of Items" functionality.
Values
Attribute path config.activity_edit.player.playback.shuffle_items
Type object
Properties
-
show boolean
Controls whether the "shuffle order of Items" option is shown.
You would want to use this to hide the option in the assessment player settings.
Default:
true
var initializationOptions = { "config": { "activity_edit": { "player": { "playback": { "shuffle_items": { "show": false } } } } } };
-
edit boolean
Controls whether the "shuffle order of Items" option can be changed.
You would want to use this so that you can prevent authors from changing the option in the assessment player settings. The option will be shown but cannot be changed.
Default:
true
var initializationOptions = { "config": { "activity_edit": { "player": { "playback": { "shuffle_items": { "edit": false } } } } } };