Skip to main content

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 valueOptions
""string

alt

Alternative text for the viewer. This is used by screen readers.

Default valueOptions
""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 crop
  • width: the relative width of the crop
  • height (optional): the relative height of the crop. It will default to width if omitted.
Default valueOptions
"""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".

OptionDescription
"cover-viewer"Fills the viewer's viewport, possibly altering aspect ratio.
"fit-inside-viewer"Maintains the original aspect ratio within the viewport.