mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-04 16:09:59 +00:00
17 lines
388 B
Vue
17 lines
388 B
Vue
<script setup lang="ts">
|
|
const { blurhash = '', src, srcset, shouldLoadImage = true } = defineProps<{
|
|
blurhash?: string
|
|
src: string
|
|
srcset?: string
|
|
shouldLoadImage?: boolean
|
|
}>()
|
|
|
|
defineOptions({
|
|
inheritAttrs: false,
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<UnLazyImage v-bind="$attrs" :blurhash="blurhash" :src="src" :src-set="srcset" :lazy-load="shouldLoadImage" auto-sizes />
|
|
</template>
|