File size: 316 Bytes
89ce340
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
<template>
  <pattern :id="id" patternContentUnits="objectBoundingBox" patternUnits="objectBoundingBox" width="1" height="1">
    <image :href="src" width="1" height="1" preserveAspectRatio="xMidYMid slice" />
  </pattern>
</template>

<script lang="ts" setup>
defineProps<{
  id: string
  src: string
}>()
</script>