cylindo-quickshot
The cylindo-quickshot is used to embed a Cylindo AI generated content via cylindo-viewer.
Related example
Attributes
content-id
The content ID for the cylindo quickshot.
| Default value | Options |
|---|---|
"" | string |
alt
Alternative text for the viewer. This is used by screen readers.
| Default value | Options |
|---|---|
"" | string |
thumbnail-crop
Configures how the quickshot thumbnail gets displayed in the thumbnail-bar. The value comprises of 3 to 4 numbers between 0 and 1 separated by a comma, in the following order:
"x, y, width, height (optional)"
x,y: the relative position of the top left corner of the cropwidth: the relative width of the cropheight(optional): the relative height of the crop. It will default towidthif omitted.
| Default value | Options |
|---|---|
"" | "number, number, number[, number]" |
display-mode
Configures how the material swatch is displayed in the content area of the Viewer. Defaults to "fit-inside-viewer".
| Option | Description |
|---|---|
"cover-viewer" | Fills the viewer's viewport, possibly altering aspect ratio. |
"fit-inside-viewer" | Maintains the original aspect ratio within the viewport. |