Items API Initialization
lazyload
Enables lazy rendering of Items from the Item Bank to improve loading times during initialization of Items API and the assessment player.
You would want to specify this option so that you can improve the loading time of very large assessments with many Items, for example. This loading method reduces the initial amount of time the learner will spend waiting to begin the assessment.
By default, or when set to false
, the learner will need to wait for all Items to be initially loaded and rendered before they can start or interact with the assessment.
Examples
// Enable lazy loading of Items
var initializationOptions = {
"config": {
"configuration": {
"lazyload": true
}
}
};
Values
Attribute path config.configuration.lazyload
Default false
Type boolean