Widget:ModelViewer: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
< | <model-viewer | ||
src="{$src|escape}" | |||
alt="{$alt|escape}" | |||
{if $width}width="{$width|escape}"{/if} | |||
{if $height}height="{$height|escape}"{/if} | |||
{if $autorotate}auto-rotate{/if} | |||
{if $cameracontrols}camera-controls{/if} | |||
{if $backgroundcolor}background-color="{$backgroundcolor|escape}"{/if}> | |||
</model-viewer> | |||
Revision as of 15:48, 30 July 2025
<model-viewer
src="{$src|escape}" alt="{$alt|escape}" {if $width}width="{$width|escape}"{/if} {if $height}height="{$height|escape}"{/if} {if $autorotate}auto-rotate{/if} {if $cameracontrols}camera-controls{/if} {if $backgroundcolor}background-color="{$backgroundcolor|escape}"{/if}>
</model-viewer>