docs(carousel): add draggable="false" to image elements (#1297)

This commit is contained in:
Jake
2024-01-31 20:04:19 +08:00
committed by GitHub
parent 5b008b789b
commit 89e15b90b1
13 changed files with 13 additions and 13 deletions

View File

@@ -11,6 +11,6 @@ const items = [
<template>
<UCarousel v-slot="{ item }" :items="items" :ui="{ item: 'basis-full' }" class="w-64 mx-auto rounded-lg overflow-hidden">
<img :src="item" class="w-full">
<img :src="item" class="w-full" draggable="false">
</UCarousel>
</template>