Skip to content

Commit

Permalink
perf(dom): custom DOM recycle
Browse files Browse the repository at this point in the history
  • Loading branch information
ferferga committed Feb 15, 2021
1 parent 764f545 commit e95ebda
Show file tree
Hide file tree
Showing 6 changed files with 602 additions and 91 deletions.
18 changes: 18 additions & 0 deletions components/Item/Card/VirtualCard.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<template>
<span>
<card v-if="item" :key="item.Id" :item="item" overlay text margin link />
</span>
</template>

<script lang="ts">
import { BaseItemDto } from '@jellyfin/client-axios';
import Vue from 'vue';
export default Vue.extend({
data() {
return {
item: undefined as undefined | BaseItemDto
};
}
});
</script>
Loading

0 comments on commit e95ebda

Please sign in to comment.