.file-preview.h-full.overflow-hidden.grid.items-center
img.block.mx-auto(
v-if="isImage(path)"
:src="baseAPI + '' + path"
)
model-stl(
v-else-if="isStl(path)"
:rotate="rotate"
:src="baseAPI + '' + path"
:backgroundColor="color ? color : '#D1D5DB'"
:controlsOptions="{'enablePan': controls ? true : false, 'enableZoom': controls ? true : false, 'enableRotate': controls ? true : false}"
)
model-obj(
v-else-if="isObj(path)"
:src="baseAPI + '' + path"
:backgroundColor="color ? color : '#D1D5DB'"
:controlsOptions="{'enablePan': controls ? true : false, 'enableZoom': controls ? true : false, 'enableRotate': controls ? true : false}"
)