No description available.
Properties
alignment
string
Optional
Horizontal alignment
caption
string
Optional
Comparison caption
images
array
of refapp.offprint.block.imageGrid#gridImage
Required
Exactly 2 images for comparison [before, after]
maxLength: 2 itemsminLength: 2 itemslabels
array
of string
Optional
Labels for the images [before label, after label]
maxLength: 2 itemsminLength: 2 itemswidth
string
Optional
CSS width value
View raw schema
{
"type": "object",
"required": [
"images"
],
"properties": {
"width": {
"type": "string",
"description": "CSS width value"
},
"images": {
"type": "array",
"items": {
"ref": "app.offprint.block.imageGrid#gridImage",
"type": "ref"
},
"required": true,
"maxLength": 2,
"minLength": 2,
"description": "Exactly 2 images for comparison [before, after]"
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"maxLength": 2,
"minLength": 2,
"description": "Labels for the images [before label, after label]"
},
"caption": {
"type": "string",
"description": "Comparison caption"
},
"alignment": {
"enum": [
"left",
"center",
"right"
],
"type": "string",
"description": "Horizontal alignment"
}
}
}