Adds a prefix to all multiple-choice labels (correct answer and distractors).
Ignores block UI and radio button under option.
Supports
- multi-select MCQs
- shuffle responses
- columns
Sets up an item load listener to add a prefix to all MCQ possible response labels.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Object of configuration options. Properties
|
Example
const options = {
mask: 'upperAlpha',
suffix: '.',
prefixes: [],
}
LT.init(itemsApp, {
extensions: [
{ id: 'mcqLabelPrefix', args: options },
],
});