Items API Initialization
fontsize
Set the default font size used to render the text content inside the assessment player.
You would want to specify this option so that you can have the Learnosity text size match your own application's text, such as for a kindergarten audience, you may want to set the font size to "xxlarge"
, for example.
Examples
var initializationOptions = {
"config": {
"configuration": {
"fontsize": "xlarge"
}
}
};
Values
Attribute path config.configuration.fontsize
Default "normal"
Type string
Possible values
-
"small"
12px -
"normal"
14px -
"large"
17px -
"xlarge"
20px -
"xxlarge"
24px