Skip to content

Instantly share code, notes, and snippets.

View mrodal's full-sized avatar
🏹

Matias Rodal mrodal

🏹
View GitHub Profile
@mrodal
mrodal / InfiniteScroll.vue
Created February 14, 2021 15:27
Vuetify Infinte Scroll Component
<template>
<div>
<div v-for="(item, i) in items" :key="i" v-intersect="onIntersect" :data-last="i === items.length - 1">
<slot :item="item"></slot>
</div>
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue, Watch } from 'vue-property-decorator';