Blocks
MosaicBlock
MosaicBlock
MosaicBlock
MosaicBlock
Object containing the following properties:
| Property | Description | Type | Default |
|---|---|---|---|
id | string | 'MosaicBlock' | |
block (*) | must be MosaicBlock | 'MosaicBlock' | |
itemsPath (*) | Path to items array. Ex: context._allEntities or data.extras.imageUrls. It should be an array of objects with a url like property or a array of urls. In this case, set the UrlPath to a . (self-referencing path) | string | |
imageUrlPath | Path to image URL for each item. Ex: image.url or . or undefined (self-referencing path) | string | '.' |
color | 'current' | 'transparent' | 'black' | 'white' | 'gray' | 'border' | 'tick' | 'disabled' | 'dimmed' | 'foreground' | 'panel-down' | 'panel' | 'panel-up' | 'panel-plus' | 'accent' | 'accent-up' | 'accent-fg' | 'accent2' | 'accent2-up' | 'accent2-fg' | ... or use a custom template (external:id). Check the Icons page for more information. or | ||
colorize | boolean | ||
size | 'banner' | 'thumbnail' | ||
aspectRatio | 'video' | 'square' | ||
forceNItems | number |
(*) Required.