cylindo-360-frame
The <cylindo-360-frame> is used to embed a 360 static frame into your <cylindo-viewer>.
Attributes
frame
The frame of the viewer to render.
| Default value | Options |
|---|---|
1 | 1-32 |
smart-crop
smart-crop crops the image to contain only pixels with color. This removes any white space around the product.
| Default value | Options |
|---|---|
true | true, false |
remove-environment-shadow
Whether the 360 viewer has a shadow.
| Default value | Options |
|---|---|
false | true, false |
on-demand-render
Enables on demand render (ODR) mode for the 360 frame item. This is used for products that are rendered on demand.
| Default value | Options |
|---|---|
false | true, false |
In ODR mode, the standard linear progress bar is replaced with a circular loader. You can customize its appearance using the --spinner-size and --spinner-color CSS custom properties.
This also disables the zoom functionality and the zoom buttons, as the zoom functionality is not supported in ODR mode for 360 frame items.
alt
Alternative text for the viewer. This is used by screen readers.
| Default value | Options |
|---|---|
"" | string |