Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(VDataIterator): loading prop fix and add new slot "loader" #18811

Prev Previous commit
chore(slot-loader.vue): fix lint
  • Loading branch information
johnleider committed Apr 12, 2024
commit 69a71a7084f0f29d45eb2df4ad9c8a2043b1da8c
10 changes: 5 additions & 5 deletions packages/docs/src/examples/v-data-iterator/slot-loader.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<v-data-iterator
:items="mice"
:loading="true"
:items-per-page="itemsPerPage"
:loading="true"
>
<template v-slot:default="{ items }">
<v-row>
Expand All @@ -17,14 +17,14 @@
<v-img
:gradient="`to top right, rgba(255, 255, 255, .1), rgba(${item.raw.color}, .15)`"
:src="item.raw.src"
cover
height="150"
cover
></v-img>

<v-list-item
:title="item.raw.name"
lines="two"
density="comfortable"
lines="two"
subtitle="Lorem ipsum dil orei namdie dkaf"
>
<template v-slot:title>
Expand All @@ -34,7 +34,7 @@
</template>
</v-list-item>

<v-table density="compact" class="text-caption">
<v-table class="text-caption" density="compact">
<tbody>
<tr align="right">
<th>DPI:</th>
Expand Down Expand Up @@ -438,6 +438,6 @@
},
],
}
}
},
}
</script>
Loading