Author API Initialization
preload
Controls whether the Question Editor API is initially loaded at the same time as Author API.
You would want to use this to prevent the loading of Question Editor API until the author attempts to edit an Item or Widget (Question or Feature). Setting this to false
will improve the initial loading time of Author API.
Examples
// Disable the initial pre-loading of Question Editor API
var initializationOptions = {
"config": {
"dependencies": {
"question_editor_api": {
"preload": false
}
}
}
};
Values
Attribute path config.dependencies.question_editor_api.preload
Default true
Type boolean
Possible values
true
loads Question Editor API when Author API is first loaded.false
loads Question Editor API when the author views the Item editor page, for views which allow the author to edit Items or Widgets.