1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<script setup> const url = `${STUDIP.ASSETS_URL}images/loading-indicator.svg`; defineProps({ size: { type: Number, default: 30 } }); </script> <template> <img v-bind="$attrs" :src="url" alt="" :style="{ width: size + 'px', height: size + 'px' }" /> </template>