mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-09 02:19:58 +00:00
fbf49368c1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
17 lines
388 B
Vue
17 lines
388 B
Vue
<script setup lang="ts">
|
|
defineOptions({
|
|
inheritAttrs: false,
|
|
})
|
|
|
|
const { blurhash = '', src, srcset, shouldLoadImage = true } = defineProps<{
|
|
blurhash?: string
|
|
src: string
|
|
srcset?: string
|
|
shouldLoadImage?: boolean
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<UnLazyImage v-bind="$attrs" :blurhash="blurhash" :src="src" :src-set="srcset" :lazy-load="shouldLoadImage" auto-sizes />
|
|
</template>
|